amwebarsentitlementservice
Class ErrorCodes

java.lang.Object
  |
  +--amwebarsentitlementservice.ErrorCodes

public class ErrorCodes
extends java.lang.Object

This interface defines the error codes that the AMWebARSEntitlementService throws. The value corresponding to the key AZN_ENT_SVC_ERR_ERROR_LIST contains a list of the errors the occured.


Field Summary
static java.lang.String AZN_ENT_SVC_ERR_CLIENT_INIT_EX_STR
          "azn_ent_svc_err_client_init_exceptions" - The initialisation of a client responsible for the retrieval of the container_type_ids failed.
static java.lang.Integer AZN_ENT_SVC_ERR_CLIENT_NOT_RETR
           
static java.lang.String AZN_ENT_SVC_ERR_CLIENT_NOT_RETR_STR
          "azn_ent_svc_err_client_container_not_retrieved" - The clients couldn't retrieve some of the containers requested without an exception.
static java.lang.String AZN_ENT_SVC_ERR_CLIENT_RUN_EX_STR
          "azn_ent_svc_err_client_run_exceptions" - This error code describes a failure of a client's protocol run.
static java.lang.String AZN_ENT_SVC_ERR_CLIENT_SHUTDOWN_EX_STR
          "azn_ent_svc_err_client_shutdown_exceptions" - The shutdown of a client or its protocol went wrong.
static java.lang.String AZN_ENT_SVC_ERR_DESC_NOT_FOUND_STR
          "azn_ent_svc_err_container_descriptors_not_found" - Thrown is some of the requested container_type_ids aren't available in the database of the AMWebARSEntitlementService.
static java.lang.String AZN_ENT_SVC_ERR_ERROR_CODE_STR
           
static java.lang.String AZN_ENT_SVC_ERR_ERROR_LIST_STR
          "azn_ent_svc_err_error_list" - denotes the list of all errors that occured.
static java.lang.String AZN_ENT_SVC_ERR_SESSION_EXISTS_STR
          "azn_ent_svc_err_session_for_uuid_already_exists" - At the moment we only support one session for one UUID at one time.
static java.lang.Integer AZN_S_COMPLETE
           
static java.lang.String AZN_S_COMPLETE_STR
          "AZN_S_COMPLETE" - The azn operation has completed successfully.
static java.lang.Integer AZN_S_FAILURE
           
static java.lang.String AZN_S_FAILURE_STR
          "AZN_S_FAILURE" - A general service failure.
static java.lang.Integer AZN_S_INVALID_APP_CONTEXT_HDL
           
static java.lang.String AZN_S_INVALID_APP_CONTEXT_HDL_STR
          "AZN_S_INVALID_APP_CONTEXT_HDL" - The app_context handed to the AMWebARSEntitlementService is malformed or null Also thrown if the "azn_perminfo_rules_adi_request" attribute is missing.
static java.lang.Integer AZN_S_INVALID_CREDS_HDL
           
static java.lang.String AZN_S_INVALID_CREDS_HDL_STR
          "AZN_S_INVALID_CREDS_HDL" - The information in the credential handle aren't correct.
static java.lang.Integer AZN_S_INVALID_ENTITLEMENTS_HDL
           
static java.lang.String AZN_S_INVALID_ENTITLEMENTS_HDL_STR
          "AZN_S_INVALID_ENTITLEMENTS_HDL" - Some container_type_ids given to the AMWebARSEntitlementService are invalid or the list of them is malformed.
static java.lang.Integer AZN_S_SVC_INIT_FAILED
           
static java.lang.String AZN_S_SVC_INIT_FAILED_STR
          "AZN_S_SVC_INIT_FAILED" - Failure of the initialization of the AMWebARSEntitlementService.
static java.lang.Integer AZN_S_SVC_SHUTDOWN_FAILED
           
static java.lang.String AZN_S_SVC_SHUTDOWN_FAILED_STR
          "AZN_S_SVC_SHUTDOWN_FAILED" - Failure of the shutdown of the AMWebARSEntitlementService.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AZN_S_COMPLETE_STR

public static final java.lang.String AZN_S_COMPLETE_STR
"AZN_S_COMPLETE" - The azn operation has completed successfully.

AZN_S_COMPLETE

public static final java.lang.Integer AZN_S_COMPLETE

AZN_S_INVALID_CREDS_HDL_STR

public static final java.lang.String AZN_S_INVALID_CREDS_HDL_STR
"AZN_S_INVALID_CREDS_HDL" - The information in the credential handle aren't correct. This error is also thrown if the principal's uuid is null or "unauthenticated"

AZN_S_INVALID_CREDS_HDL

public static final java.lang.Integer AZN_S_INVALID_CREDS_HDL

AZN_S_INVALID_APP_CONTEXT_HDL_STR

public static final java.lang.String AZN_S_INVALID_APP_CONTEXT_HDL_STR
"AZN_S_INVALID_APP_CONTEXT_HDL" - The app_context handed to the AMWebARSEntitlementService is malformed or null Also thrown if the "azn_perminfo_rules_adi_request" attribute is missing.

AZN_S_INVALID_APP_CONTEXT_HDL

public static final java.lang.Integer AZN_S_INVALID_APP_CONTEXT_HDL

AZN_S_INVALID_ENTITLEMENTS_HDL_STR

public static final java.lang.String AZN_S_INVALID_ENTITLEMENTS_HDL_STR
"AZN_S_INVALID_ENTITLEMENTS_HDL" - Some container_type_ids given to the AMWebARSEntitlementService are invalid or the list of them is malformed. If thrown because of container_type_ids for which exist no ContainerDescriptor, an additional minor error "azn_ent_svc_err_container_descriptors_not_found" is thrown.

AZN_S_INVALID_ENTITLEMENTS_HDL

public static final java.lang.Integer AZN_S_INVALID_ENTITLEMENTS_HDL

AZN_S_FAILURE_STR

public static final java.lang.String AZN_S_FAILURE_STR
"AZN_S_FAILURE" - A general service failure. Only thrown if the getEntitlement service is called without initialisation or something really went bad. 'Really went bad' means that an RuntimeException was catched, which wasn't expected at implementation time.

AZN_S_FAILURE

public static final java.lang.Integer AZN_S_FAILURE

AZN_S_SVC_INIT_FAILED_STR

public static final java.lang.String AZN_S_SVC_INIT_FAILED_STR
"AZN_S_SVC_INIT_FAILED" - Failure of the initialization of the AMWebARSEntitlementService. In most cases thrown because a configuration or data file couldn't be loaded or parsed correctly.

AZN_S_SVC_INIT_FAILED

public static final java.lang.Integer AZN_S_SVC_INIT_FAILED

AZN_S_SVC_SHUTDOWN_FAILED_STR

public static final java.lang.String AZN_S_SVC_SHUTDOWN_FAILED_STR
"AZN_S_SVC_SHUTDOWN_FAILED" - Failure of the shutdown of the AMWebARSEntitlementService. At the moment the shutdown method shouldn't throw any error. A shutdown failure means that an unexpected Exception was catched.

AZN_S_SVC_SHUTDOWN_FAILED

public static final java.lang.Integer AZN_S_SVC_SHUTDOWN_FAILED

AZN_ENT_SVC_ERR_DESC_NOT_FOUND_STR

public static final java.lang.String AZN_ENT_SVC_ERR_DESC_NOT_FOUND_STR
"azn_ent_svc_err_container_descriptors_not_found" - Thrown is some of the requested container_type_ids aren't available in the database of the AMWebARSEntitlementService. The value of this error contains the missing container_type_ids.

AZN_ENT_SVC_ERR_CLIENT_INIT_EX_STR

public static final java.lang.String AZN_ENT_SVC_ERR_CLIENT_INIT_EX_STR
"azn_ent_svc_err_client_init_exceptions" - The initialisation of a client responsible for the retrieval of the container_type_ids failed. This is also thrown if the initialisation of protocol failed. The FileReaderProtocol throws this, if it can't load the container database from disk.

AZN_ENT_SVC_ERR_CLIENT_SHUTDOWN_EX_STR

public static final java.lang.String AZN_ENT_SVC_ERR_CLIENT_SHUTDOWN_EX_STR
"azn_ent_svc_err_client_shutdown_exceptions" - The shutdown of a client or its protocol went wrong.

AZN_ENT_SVC_ERR_CLIENT_RUN_EX_STR

public static final java.lang.String AZN_ENT_SVC_ERR_CLIENT_RUN_EX_STR
"azn_ent_svc_err_client_run_exceptions" - This error code describes a failure of a client's protocol run. It's is thrown for instance if the provider couldn't be connected.

AZN_ENT_SVC_ERR_CLIENT_NOT_RETR_STR

public static final java.lang.String AZN_ENT_SVC_ERR_CLIENT_NOT_RETR_STR
"azn_ent_svc_err_client_container_not_retrieved" - The clients couldn't retrieve some of the containers requested without an exception. Therefore in most cases a redirect is necessary to retrieve the remaining containers with browser-based protocols. This error code refers to the Access Manager's "ivacl_s_insufficient_input_adi_provided" error code.

AZN_ENT_SVC_ERR_CLIENT_NOT_RETR

public static final java.lang.Integer AZN_ENT_SVC_ERR_CLIENT_NOT_RETR

AZN_ENT_SVC_ERR_SESSION_EXISTS_STR

public static final java.lang.String AZN_ENT_SVC_ERR_SESSION_EXISTS_STR
"azn_ent_svc_err_session_for_uuid_already_exists" - At the moment we only support one session for one UUID at one time. This error is thrown if we get another request for the same UUID while an session with that UUID is still running.

AZN_ENT_SVC_ERR_ERROR_LIST_STR

public static final java.lang.String AZN_ENT_SVC_ERR_ERROR_LIST_STR
"azn_ent_svc_err_error_list" - denotes the list of all errors that occured. This attribute is present in the Hashtable if and only if an error occured. It contains a list of the error codes that were thrown.

AZN_ENT_SVC_ERR_ERROR_CODE_STR

public static final java.lang.String AZN_ENT_SVC_ERR_ERROR_CODE_STR