public interface AuthenticationManager extends ApplicationScopedComponent
| Modifier and Type | Method and Description |
|---|---|
AuthenticationSession |
authenticate(AuthenticationRequest request)
Caches and returns an authentication
AuthenticationSession if the
request is valid; otherwise returns
null. |
void |
closeSession(AuthenticationSession authenticationSession) |
boolean |
isSessionValid(AuthenticationSession authenticationSession)
Whether the provided
AuthenticationSession is still valid. |
boolean |
register(RegistrationDetails registrationDetails) |
boolean |
supportsRegistration(Class<? extends RegistrationDetails> registrationDetailsClass) |
init, shutdownAuthenticationSession authenticate(AuthenticationRequest request)
AuthenticationSession if the
request is valid; otherwise returns
null.boolean supportsRegistration(Class<? extends RegistrationDetails> registrationDetailsClass)
boolean register(RegistrationDetails registrationDetails)
boolean isSessionValid(AuthenticationSession authenticationSession)
AuthenticationSession is still valid.void closeSession(AuthenticationSession authenticationSession)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.