| Package | Description |
|---|---|
| org.jasig.cas.authentication |
Authentication validates the Credentials provided during a /login
request.
|
| org.jasig.cas.authentication.handler |
The handler package contains the classes used to authenticate a user.
|
| org.jasig.cas.authentication.handler.support |
Authentication.support contains the specific implementations of
the AuthenticationHandler interface.
|
| Modifier and Type | Method and Description |
|---|---|
Authentication |
AbstractAuthenticationManager.authenticate(Credentials credentials) |
Authentication |
AuthenticationManager.authenticate(Credentials credentials)
Method to validate the credentials provided.
|
protected AbstractAuthenticationManager.Pair<AuthenticationHandler,Principal> |
AuthenticationManagerImpl.authenticateAndObtainPrincipal(Credentials credentials) |
protected AbstractAuthenticationManager.Pair<AuthenticationHandler,Principal> |
DirectMappingAuthenticationManagerImpl.authenticateAndObtainPrincipal(Credentials credentials) |
protected abstract AbstractAuthenticationManager.Pair<AuthenticationHandler,Principal> |
AbstractAuthenticationManager.authenticateAndObtainPrincipal(Credentials credentials)
Follows the same rules as the "authenticate" method (i.e.
|
protected AbstractAuthenticationManager.Pair<AuthenticationHandler,Principal> |
LinkedAuthenticationHandlerAndCredentialsToPrincipalResolverAuthenticationManager.authenticateAndObtainPrincipal(Credentials credentials) |
| Modifier and Type | Class and Description |
|---|---|
class |
BadCredentialsAuthenticationException
Generic Bad Credentials Exception.
|
class |
BadPasswordAuthenticationException
The exception to throw when we know the username is correct but the password
is not.
|
class |
BadUsernameOrPasswordAuthenticationException
Exception to throw when we know the credentials provided were
username/password and the combination is wrong.
|
class |
BlockedCredentialsAuthenticationException
Exception to represent credentials that have been blocked for a reason such
as Locked account.
|
class |
UncategorizedAuthenticationException
Generic abstract exception to extend when you don't know what the heck is
going on.
|
class |
UnknownUsernameAuthenticationException
The exception to throw when we explicitly don't know anything about the
username.
|
class |
UnsupportedCredentialsException
The exception thrown when a Handler does not know how to determine the
validity of the credentials based on the fact that it does not know what to
do with the credentials presented.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AuthenticationHandler.authenticate(Credentials credentials)
Method to determine if the credentials supplied are valid.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractPreAndPostProcessingAuthenticationHandler.authenticate(Credentials credentials) |
protected abstract boolean |
AbstractUsernamePasswordAuthenticationHandler.authenticateUsernamePasswordInternal(UsernamePasswordCredentials credentials)
Abstract convenience method that assumes the credentials passed in are a
subclass of UsernamePasswordCredentials.
|
protected boolean |
JaasAuthenticationHandler.authenticateUsernamePasswordInternal(UsernamePasswordCredentials credentials) |
protected boolean |
AbstractUsernamePasswordAuthenticationHandler.doAuthentication(Credentials credentials)
Method automatically handles conversion to UsernamePasswordCredentials
and delegates to abstract authenticateUsernamePasswordInternal so
subclasses do not need to cast.
|
protected abstract boolean |
AbstractPreAndPostProcessingAuthenticationHandler.doAuthentication(Credentials credentials) |
Copyright © 2004-2012 Jasig. All Rights Reserved.