|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthenticationHandler
Validate Credentials support for AuthenticationManagerImpl.
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.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||