public interface IAuthenticationHandler extends Serializable
The IAuthenticationHandler manages authentication of a subject. After
successful authentication with a given ICredential, getSubject
returns the currently active authenticated object.
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(ICredential credential)
Perform the necessary authentication procedure for the given credential.
|
ICredentialSpec |
getCredentialSpec()
A description of the
ICredential expected by this
IAuthenticationHandler upon authenticate. |
ISubject |
getSubject()
The authenticated subject for the active authentication context.
|
boolean |
isAuthenticationRequired()
true if the IAuthenticationHandler requires
authentication. |
void authenticate(ICredential credential) throws AuthenticationException
"credential" may be null to cancel authentication.
credential - AuthenticationExceptionICredentialSpec getCredentialSpec()
ICredential expected by this
IAuthenticationHandler upon authenticate.ISubject getSubject()
boolean isAuthenticationRequired()
true if the IAuthenticationHandler requires
authentication.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.