summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-10-19 23:46:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-10-19 23:46:29 +0000
commit73e38f8b3d48fb0485d20a852d56f1b0ebd89d1e (patch)
tree7ae4478a6d8b67c6b6d2da7ada44e5c82e9d7823
parent902be353b5e7a5f9b26d1fabfe4e21df5e82b1c2 (diff)
parent6d25001fc8f5426fea0442868a20511dc698ee42 (diff)
downloadgsma_services-73e38f8b3d48fb0485d20a852d56f1b0ebd89d1e.tar.gz
Merge "Add new error code for invalid request" into main
-rw-r--r--ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java b/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
index 24dd7db..efaddad 100644
--- a/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
+++ b/ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java
@@ -90,6 +90,11 @@ public class AuthenticationException extends Exception {
public static final int ERROR_INVALID_HTTP_RESPONSE = 8;
/**
+ * Authentication request failed because the request parameters were malformed.
+ */
+ public static final int ERROR_INVALID_REQUEST = 9;
+
+ /**
* Authentication errors that can be returned by the TS.43 authentication library or
* service entitlement library.
*/
@@ -104,6 +109,7 @@ public class AuthenticationException extends Exception {
ERROR_MAXIMUM_EAP_AKA_ATTEMPTS,
ERROR_HTTP_RESPONSE_FAILED,
ERROR_INVALID_HTTP_RESPONSE,
+ ERROR_INVALID_REQUEST,
})
public @interface AuthenticationError {}