org.jasig.cas.authentication
Class LinkedAuthenticationHandlerAndCredentialsToPrincipalResolverAuthenticationManager
java.lang.Object
org.jasig.cas.authentication.AbstractAuthenticationManager
org.jasig.cas.authentication.LinkedAuthenticationHandlerAndCredentialsToPrincipalResolverAuthenticationManager
- All Implemented Interfaces:
- AuthenticationManager
public class LinkedAuthenticationHandlerAndCredentialsToPrincipalResolverAuthenticationManager
- extends AbstractAuthenticationManager
Ensures that all authentication handlers are tried, but if one is tried, the associated CredentialsToPrincipalResolver is used.
- Since:
- 3.3.5
- Version:
- $Revision$ $Date$
- Author:
- Scott Battaglia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkedAuthenticationHandlerAndCredentialsToPrincipalResolverAuthenticationManager
public LinkedAuthenticationHandlerAndCredentialsToPrincipalResolverAuthenticationManager(Map<AuthenticationHandler,CredentialsToPrincipalResolver> linkedHandlers)
authenticateAndObtainPrincipal
protected AbstractAuthenticationManager.Pair<AuthenticationHandler,Principal> authenticateAndObtainPrincipal(Credentials credentials)
throws AuthenticationException
- Description copied from class:
AbstractAuthenticationManager
- Follows the same rules as the "authenticate" method (i.e. should only return a fully populated object, or throw an exception)
- Specified by:
authenticateAndObtainPrincipal in class AbstractAuthenticationManager
- Parameters:
credentials - the credentials to check
- Returns:
- the pair of authentication handler and principal. CANNOT be NULL.
- Throws:
AuthenticationException - if there is an error authenticating.
Copyright © 2004-2013 Jasig. All Rights Reserved.