diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-10-20 00:00:12 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-10-20 00:00:12 +0000 |
commit | 81c7ec372836d372acd3053a8c1263480962d11b (patch) | |
tree | 7ae4478a6d8b67c6b6d2da7ada44e5c82e9d7823 | |
parent | e50efd40836441b61dd85d20ca3a4187da56fd75 (diff) | |
parent | f479b0d4ae4fd0dfcafa8e278ca3249041f10666 (diff) | |
download | gsma_services-81c7ec372836d372acd3053a8c1263480962d11b.tar.gz |
Merge "Add new error code for invalid request" into main am: 73e38f8b3d am: f479b0d4ae
Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/gsma_services/+/2797716
Change-Id: Ie19ef8f5923e493bb777371ab92bb8510ca11ff9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | ts43authentication/src/com/android/libraries/ts43authentication/AuthenticationException.java | 6 |
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 {} |