ADALError Enum
- java.
lang. Object - java.
lang. Enum<ADALError> - com.
microsoft. aad. adal. ADALError
- com.
- java.
public enum ADALError
ADAL Error codes.
Fields
ACTIVITY_REQUEST_INTENT_DATA_IS_NULL |
Request object is needed to start AuthenticationActivity. |
ANDROIDKEYSTORE_FAILED |
Failed to use AndroidKeyStore. |
ANDROIDKEYSTORE_KEYPAIR_GENERATOR_FAILED |
Failed to use KeyPairGeneratorSpec. |
APP_PACKAGE_NAME_NOT_FOUND |
App package name is not found in the package manager. |
ARGUMENT_EXCEPTION |
Invalid argument. |
AUTH_FAILED |
Authorization failed. |
AUTH_FAILED_BAD_STATE |
The authorization server response has no encoded state. |
AUTH_FAILED_CANCELLED |
The user cancelled the authorization request. |
AUTH_FAILED_INTERNAL_ERROR |
Invalid parameters for authorization operation. |
AUTH_FAILED_INTUNE_POLICY_REQUIRED |
Intune App Protection Policy required. |
AUTH_FAILED_NO_RESOURCES |
The required resource bundle could not be loaded. |
AUTH_FAILED_NO_STATE |
The authorization server response has incorrectly encoded state. |
AUTH_FAILED_NO_TOKEN |
The requested access token could not be found. |
AUTH_FAILED_SERVER_ERROR |
The Authorization Server returned an unrecognized response. |
AUTH_FAILED_USER_MISMATCH |
User returned by service does not match the one in the request. |
AUTH_REFRESH_FAILED |
Refresh token request failed. |
AUTH_REFRESH_FAILED_PROMPT_NOT_ALLOWED |
Refresh token is failed and prompt is not allowed. |
AUTHORIZATION_CODE_NOT_EXCHANGED_FOR_TOKEN |
Authorization code not exchanged for token. |
BROADCAST_CANCEL_NOT_SUCCESSFUL |
Cancel message is not successfully delivered to broadcast receiver. It may be not registered yet. AuthenticationActivity will register that at onResume. |
BROADCAST_RECEIVER_ERROR |
Broadcast receiver has an error. |
BROKER_ACCOUNT_DEVICE_REGISTRY_FAILURE |
Device registration failed |
BROKER_ACCOUNT_DOES_NOT_EXIST |
Broker account does not exist. |
BROKER_ACCOUNT_FAILED_RESOLVED_INTERRUPT |
Token request after resolving web interrupt failed. |
BROKER_ACCOUNT_SAVE_FAILED |
Broker could not save the new account. |
BROKER_ACTIVITY_INFO_NOT_FOUND |
Activity information is not retrieved. |
BROKER_ACTIVITY_INVALID_REQUEST |
Invalid request parameters. |
BROKER_ACTIVITY_IS_NOT_RESOLVED |
Broker activity is not resolved. |
BROKER_APP_INSTALLATION_STARTED |
Broker is not installed. The process is kicked off to to install broker but ADAL cannot wait for it to finish. |
BROKER_APP_VERIFICATION_FAILED |
Calling app could not be verified. |
BROKER_AUTHENTICATION_REQUEST_IS_NULL |
Authentication request is null. |
BROKER_AUTHENTICATOR_BAD_ARGUMENTS |
Invalid arguments for Authenticator request. |
BROKER_AUTHENTICATOR_BAD_AUTHENTICATION |
Authentication request failed. |
BROKER_AUTHENTICATOR_ERROR_GETAUTHTOKEN |
Authenticator error. |
BROKER_AUTHENTICATOR_EXCEPTION |
Authenticator returned exception. |
BROKER_AUTHENTICATOR_IO_EXCEPTION |
Authenticator has IO Exception. |
BROKER_AUTHENTICATOR_NOT_RESPONDING |
Authenticator is not responding. |
BROKER_AUTHENTICATOR_OPERATION_CANCEL |
Operation was cancelled by the broker |
BROKER_AUTHENTICATOR_UNSUPPORTED_OPERATION |
Authenticator is not supporting this operation. |
BROKER_BIND_SERVICE_FAILED |
Failed to bind the service in broker app. |
BROKER_PACKAGE_NAME_NOT_FOUND |
Broker is not installed in your system. |
BROKER_PRT_FAILED |
Broker failed to get the PRT. |
BROKER_SIGNATURE_NOT_SAVED |
Signature is not saved. |
BROKER_SINGLE_USER_EXPECTED |
Single user is expected. |
BROKER_VERIFICATION_FAILED |
Signature could not be verified. |
CALLBACK_IS_NOT_FOUND |
Active callback is not found. |
CERTIFICATE_ENCODING_ERROR |
Certificate encoding is not generated. |
CORRELATION_ID_FORMAT |
Correlationid is not in UUID format. |
CORRELATION_ID_NOT_MATCHING_REQUEST_RESPONSE |
Correlationid provided in request is not matching the response. |
DATE_PARSING_FAILURE |
Dateformat is invalid. |
DECRYPTION_FAILED |
Decryption failed. |
DEVELOPER_ACTIVITY_IS_NOT_RESOLVED |
Activity is not resolved. |
DEVELOPER_ASYNC_TASK_REUSED |
Async tasks can only be executed one time. They are not supposed to be reused. |
DEVELOPER_AUTHORITY_CAN_NOT_BE_VALIDED |
Authority validation returned an error. |
DEVELOPER_AUTHORITY_IS_EMPTY |
Authority is empty. |
DEVELOPER_AUTHORITY_IS_NOT_VALID_INSTANCE |
Authority is not a valid instance. |
DEVELOPER_AUTHORITY_IS_NOT_VALID_URL |
Authority url is not valid. |
DEVELOPER_BEARER_HEADER_MULTIPLE_ITEMS |
Key/value pair list contains redundant items in the header. |
DEVELOPER_BROKER_PERMISSIONS_MISSING |
GET_ACCOUNTS, MANAGE_ACCOUNTS, USE_CREDENTIALS are not added to AndroidManifest file. |
DEVELOPER_CALLING_ON_MAIN_THREAD |
Calling from main thread for background operation. |
DEVELOPER_CONTEXT_IS_NOT_PROVIDED |
Context is not provided. |
DEVELOPER_DIALOG_INFLATION_ERROR |
An exception occurred attempting to inflate the authentication dialog. This exception can occur for a number of different reasons https://developer.android.com/reference/android/view/InflateException |
DEVELOPER_DIALOG_LAYOUT_INVALID |
Layout file does not have correct elements such as different webview id. |
DEVELOPER_INTERNET_PERMISSION_MISSING |
android.permission.INTERNET is not added to AndroidManifest file. |
DEVELOPER_REDIRECTURI_INVALID |
The redirectUri for broker is invalid. |
DEVELOPER_RESOURCE_IS_EMPTY |
Resource is empty. |
DEVICE_ALGORITHM_PADDING_EXCEPTION |
Requested padding is not available. |
DEVICE_CACHE_IS_NOT_WORKING |
Cache is not saving the changes. This error will be returned to developer, if cache returns error. |
DEVICE_CERT_PROXY_UNINITIALIZED |
Error logged when DeviceCertProxy class is sought, but found to be uninitialized. |
DEVICE_CERTIFICATE_API_EXCEPTION |
Device certificate API has exception. |
DEVICE_CERTIFICATE_REQUEST_INVALID |
Device certificate request is valid. |
DEVICE_CERTIFICATE_RESPONSE_FAILED |
It is failed to create device certificate response. |
DEVICE_CHALLENGE_FAILURE |
Device challenge failure. |
DEVICE_CONNECTION_IS_NOT_AVAILABLE |
Connection is not available. |
DEVICE_FILE_CACHE_FORMAT_IS_WRONG |
Wrong cache file format. |
DEVICE_FILE_CACHE_IS_NOT_LOADED_FROM_FILE |
Cache is not loaded from File. |
DEVICE_FILE_CACHE_IS_NOT_WRITING_TO_FILE |
FileCache could not write to the File. |
DEVICE_INTERNET_IS_NOT_AVAILABLE |
Internet permissions are not set for the app. |
DEVICE_NO_SUCH_ALGORITHM |
Device does not support the algorithm. |
DEVICE_PRNG_FIX_ERROR |
PRNG fixes are not applied. |
DEVICE_SHARED_PREF_IS_NOT_AVAILABLE |
Shared preferences are not available. |
DIGEST_ERROR |
Error in generating hash with MessageDigest. |
DISCOVERY_NOT_SUPPORTED |
Authority validation is not supported for ADFS authority. Authority validation needs to be disabled for ADFS. |
DRS_DISCOVERY_FAILED_UNKNOWN_HOST |
DRS discovery failed: unknown host. |
DRS_FAILED_SERVER_ERROR |
Enrollment server returned an unrecognized response. |
DRS_METADATA_URL_INVALID |
Malformed DRS metadata URL. |
ENCODING_IS_NOT_SUPPORTED |
Encoding format is not supported. |
ENCRYPTION_ERROR |
Encryption related error. |
ENCRYPTION_FAILED |
Encryption failed. |
ERROR_FAILED_SSL_HANDSHAKE |
WebView has ssl related error and returned error code for that. |
ERROR_SILENT_REQUEST |
Error in silent token request. |
ERROR_WEBVIEW |
WebView has some generic error. |
FAIL_TO_EXPORT |
Export of FID failure. |
FAIL_TO_IMPORT |
Import of FID failure. |
IDTOKEN_PARSING_FAILURE |
IdToken is normally returned from token endpoint. |
INCOMPATIBLE_BLOB_VERSION |
Incompatible blob version. |
INVALID_TOKEN_CACHE_ITEM |
The token cache item is invalid, cannot use it to create cachekey. |
IO_EXCEPTION |
I/O exception. |
JSON_PARSE_ERROR |
Fail to parse JSON because of the problem with the JSON API. |
KEY_CHAIN_PRIVATE_KEY_EXCEPTION |
Key Chain private key exception. |
MAPPING_FAILURE |
Common core to ADAL mapping failed |
MDM_REQUIRED |
Device is required to be managed. |
NO_NETWORK_CONNECTION_POWER_OPTIMIZATION |
Unable to access the network due to power optimizations. |
ON_ACTIVITY_RESULT_CALLBACK_NOT_FOUND |
onActivityResult is called, but callback is not found. |
ON_ACTIVITY_RESULT_INTENT_NULL |
onActivityResult is called with null intent data. Activity may be terminated directly. |
PACKAGE_NAME_NOT_FOUND |
Package name is not resolved. |
PARALLEL_UI_REQUESTS |
Multiple parallel UI requests. Broker will only allow one UI request per app at a time. |
RESOURCE_AUTHENTICATION_CHALLENGE_FAILURE |
Resource authentication challenge failure. |
RESOURCE_NOT_FOUND |
Resource is not found in your project. Please include resource files. |
SERVER_ERROR |
Server returned an error. |
SERVER_INVALID_JSON_RESPONSE |
Server returned invalid JSON response. |
SERVER_INVALID_REQUEST |
Invalid request to server. |
SIGNATURE_EXCEPTION |
Signature exception. |
SOCKET_TIMEOUT_EXCEPTION |
I/O exception. |
TOKEN_CACHE_ITEM_NOT_FOUND |
Fail to get the token cache item from the cache item. |
WEBVIEW_REDIRECTURL_NOT_SSL_PROTECTED |
WebView redirect url is not SSL protected. |
WEBVIEW_RETURNED_AUTHENTICATION_EXCEPTION |
WebView returned Authentication Exception. |
WEBVIEW_RETURNED_EMPTY_REDIRECT_URL |
WebView returned empty redirect url. |
WEBVIEW_RETURNED_INVALID_AUTHENTICATION_EXCEPTION |
WebView returned invalid or null Authentication Exception. |
X_MS_CLITELEM_MALFORMED |
The value of the x-ms-clitelem header contained malformed data. |
X_MS_CLITELEM_VERSION_UNRECOGNIZED |
The version field of x-ms-clitelem contained an unknown or unsupported value. |
Methods
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for