FileDocCategorySizeDatePackage
AuthenticationStatus.javaAPI DocGlassfish v2 API3505Fri May 04 22:35:26 BST 2007com.sun.enterprise.security.auth

AuthenticationStatus

public interface AuthenticationStatus implements Serializable
This interface stores the status of the authentication.
author
Harish Prabandham

Fields Summary
public static final int
AUTH_SUCCESS
public static final int
AUTH_FAILURE
public static final int
AUTH_CONTINUE
public static final int
AUTH_EXPIRED
Constructors Summary
Methods Summary
public 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.

return
An array of bytes indicating the authentication specific information needed to complete the authentication.

public 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.

return
An array of bytes indicating the additional information needed to complete the authentication.

public intgetStatus()
This method returns the status of the authentication

return
An integer value indicating the status of the authentication