Package com.sun.enterprise.security.auth
Interface AuthenticationStatus
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AuthenticationStatusImpl
public interface AuthenticationStatus extends Serializable
This interface stores the status of the authentication.- Author:
- Harish Prabandham
-
-
Field Summary
Fields Modifier and Type Field Description static int
AUTH_CONTINUE
static int
AUTH_EXPIRED
static int
AUTH_FAILURE
static int
AUTH_SUCCESS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getAuthSpecificData()
This is the value returned by the Authenticator when the status is AUTH_CONTINUE.byte[]
getContinuationData()
This is the value returned by the Authenticator when the status is AUTH_CONTINUE.int
getStatus()
This method returns the status of the authentication
-
-
-
Field Detail
-
AUTH_SUCCESS
static final int AUTH_SUCCESS
- See Also:
- Constant Field Values
-
AUTH_FAILURE
static final int AUTH_FAILURE
- See Also:
- Constant Field Values
-
AUTH_CONTINUE
static final int AUTH_CONTINUE
- See Also:
- Constant Field Values
-
AUTH_EXPIRED
static final int AUTH_EXPIRED
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
-