Package com.sun.enterprise.security.auth
Interface AuthenticationStatus
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AuthenticationStatusImpl
This interface stores the status of the authentication.
- Author:
- Harish Prabandham
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
This is the value returned by the Authenticator when the status is AUTH_CONTINUE.byte[]
This is the value returned by the Authenticator when the status is AUTH_CONTINUE.int
This method returns the status of the authentication
-
Field Details
-
AUTH_SUCCESS
static final int AUTH_SUCCESS- See Also:
-
AUTH_FAILURE
static final int AUTH_FAILURE- See Also:
-
AUTH_CONTINUE
static final int AUTH_CONTINUE- See Also:
-
AUTH_EXPIRED
static final int AUTH_EXPIRED- See Also:
-
-
Method Details
-
getStatus
int getStatus()This method returns the status of the authentication- Returns:
- An integer value indicating the status of the authentication
-
getContinuationData
byte[] getContinuationData()This is the value returned by the Authenticator when the status is AUTH_CONTINUE. This data should give an indication to the client on what else it should send to the server to complete the authentication.- Returns:
- An array of bytes indicating the additional information needed to complete the authentication.
-
getAuthSpecificData
byte[] getAuthSpecificData()This is the value returned by the Authenticator when the status is AUTH_CONTINUE. This data should give an indication to the client on specific authentication it needs to adopt to continue on with the authentication.- Returns:
- An array of bytes indicating the authentication specific information needed to complete the authentication.
-