|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.authentication.AbstractAuthenticationManager
org.jasig.cas.authentication.DirectMappingAuthenticationManagerImpl
public final class DirectMappingAuthenticationManagerImpl
Authentication Manager that provides a direct mapping between credentials provided and the authentication handler used to authenticate the user.
| Nested Class Summary | |
|---|---|
static class |
DirectMappingAuthenticationManagerImpl.DirectAuthenticationHandlerMappingHolder
|
| Nested classes/interfaces inherited from class org.jasig.cas.authentication.AbstractAuthenticationManager |
|---|
AbstractAuthenticationManager.Pair<A,B> |
| Field Summary |
|---|
| Fields inherited from class org.jasig.cas.authentication.AbstractAuthenticationManager |
|---|
log |
| Fields inherited from interface org.jasig.cas.authentication.AuthenticationManager |
|---|
AUTHENTICATION_METHOD_ATTRIBUTE |
| Constructor Summary | |
|---|---|
DirectMappingAuthenticationManagerImpl()
|
|
| Method Summary | |
|---|---|
protected AbstractAuthenticationManager.Pair<AuthenticationHandler,Principal> |
authenticateAndObtainPrincipal(Credentials credentials)
Follows the same rules as the "authenticate" method (i.e. |
void |
setCredentialsMapping(java.util.Map<java.lang.Class<? extends Credentials>,DirectMappingAuthenticationManagerImpl.DirectAuthenticationHandlerMappingHolder> credentialsMapping)
|
| Methods inherited from class org.jasig.cas.authentication.AbstractAuthenticationManager |
|---|
authenticate, setAuthenticationMetaDataPopulators |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectMappingAuthenticationManagerImpl()
| Method Detail |
|---|
protected AbstractAuthenticationManager.Pair<AuthenticationHandler,Principal> authenticateAndObtainPrincipal(Credentials credentials)
throws AuthenticationException
AbstractAuthenticationManager
authenticateAndObtainPrincipal in class AbstractAuthenticationManagercredentials - the credentials to check
java.lang.IllegalArgumentException - if a mapping cannot be found.
AuthenticationException - if there is an error authenticating.AuthenticationManager.authenticate(org.jasig.cas.authentication.principal.Credentials)public final void setCredentialsMapping(java.util.Map<java.lang.Class<? extends Credentials>,DirectMappingAuthenticationManagerImpl.DirectAuthenticationHandlerMappingHolder> credentialsMapping)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||