public class AuthenticationStatusImpl extends Object implements AuthenticationStatus
AUTH_CONTINUE, AUTH_EXPIRED, AUTH_FAILURE, AUTH_SUCCESS| Constructor and Description |
|---|
AuthenticationStatusImpl(String principalName,
String authMethod,
String realm,
int status)
This constructs a new AuthenticationStatus object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthMethod()
This method returns the "method" used to perform authentication
|
byte[] |
getAuthSpecificData()
This method returns a byte array of zero length, since there's
no auth specific data needed for passphrase based authentication.
|
byte[] |
getContinuationData()
This method returns a byte array of zero length, since there's
no continuation data needed for passphrase based authentication.
|
String |
getPrincipalName()
This method returns the string representation of the principal
that was authenticated.
|
String |
getRealmName()
This method returns the name of realm where the authentication was
performed.
|
int |
getStatus()
This method returns the status of the authentication
|
public AuthenticationStatusImpl(String principalName, String authMethod, String realm, int status)
The - name of the principalThe - name of the realm that authenticated the principalThe - method used for authenticating the principalThe - status of the authenticationpublic int getStatus()
getStatus in interface AuthenticationStatuspublic byte[] getContinuationData()
getContinuationData in interface AuthenticationStatuspublic byte[] getAuthSpecificData()
getAuthSpecificData in interface AuthenticationStatuspublic String getRealmName()
public String getAuthMethod()
public String getPrincipalName()
Copyright © 2017. All rights reserved.