public interface AuthenticationHandler
Determines that Credentials are valid. Password-based credentials may be tested against an external LDAP, Kerberos, JDBC source. Certificates may be checked against a list of CA's and do the usual chain validation. Implementations must be parameterized with their sources of information.
Callers to this class should first call supports to determine if the AuthenticationHandler can authenticate the credentials provided.
This is a published and supported CAS Server 3 API.
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(Credentials credentials)
Method to determine if the credentials supplied are valid.
|
boolean |
supports(Credentials credentials)
Method to check if the handler knows how to handle the credentials
provided.
|
boolean authenticate(Credentials credentials) throws AuthenticationException
credentials - The credentials to validate.AuthenticationException - An AuthenticationException can contain
details about why a particular authentication request failed.boolean supports(Credentials credentials)
credentials - The credentials to check.Copyright © 2004-2012 Jasig. All Rights Reserved.