summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-10-20 02:34:06 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-20 02:34:06 +0000
commit876b2f167399d08f0adbba709b0eeebb7c39934c (patch)
tree241ba6b67c3ac502d2a6f471beebd8f7d24869ed
parent45a6410e94afb9cc91033df18306feb82a9f8826 (diff)
parent81c7ec372836d372acd3053a8c1263480962d11b (diff)
downloadgsma_services-876b2f167399d08f0adbba709b0eeebb7c39934c.tar.gz
Merge "Add new error code for invalid request" into main am: 73e38f8b3d am: f479b0d4ae am: 81c7ec3728
Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/gsma_services/+/2797716 Change-Id: Ib764b98f3238a218902c2ca6855e9b6eb8a46226 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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 {}