|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the principal authenticator entity, which is used
by applications to authenticate an identity into the system. The instances are
accessible via the Current
object.
Method Summary | |
AuthResult |
authenticate(java.lang.String securityName,
byte[] authData)
Authenticates principal using the supplied security name and returns Credentials object representing this authenticated
principal. |
AuthResult |
continueAuthentication(byte[] responseData,
Credentials creds)
Continues authentication after authenticate method returns
AuthResult.AUTH_STATUS_CONTINUE code. |
Method Detail |
public AuthResult authenticate(java.lang.String securityName, byte[] authData)
Credentials
object representing this authenticated
principal.
securityName
- name of the principal to be authenticatedauthData
- provider specific data for authentication
AuthResult
classpublic AuthResult continueAuthentication(byte[] responseData, Credentials creds)
authenticate
method returns
AuthResult.AUTH_STATUS_CONTINUE code.
responseData
- provider specific data for the next round of
the authentication processcreds
- incomplete credentials returned by the previous call
to either authenticate
or
continueAuthentication
method
AuthResult
class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |