|
|||||||||
| Home >> All >> net >> sf >> acegisecurity >> [ providers overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
net.sf.acegisecurity.providers
Interface AuthenticationProvider

- All Known Implementing Classes:
- TestingAuthenticationProvider
- public interface AuthenticationProvider
Indicates a class can process a specific net.sf.acegisecurity.Authentication implementation.
- Version:
- $Id: AuthenticationProvider.java,v 1.3 2004/04/18 12:03:04 benalex Exp $
| Method Summary | |
net.sf.acegisecurity.Authentication |
authenticate(net.sf.acegisecurity.Authentication authentication)
Performs authentication with the same contract as AuthenticationManager.authenticate(Authentication)> AuthenticationManager.authenticate(Authentication) 55 . |
boolean |
supports(java.lang.Class authentication)
Returns true if this AuthenticationProvider
supports the indicated Authentication object. |
| Method Detail |
authenticate
public net.sf.acegisecurity.Authentication authenticate(net.sf.acegisecurity.Authentication authentication) throws net.sf.acegisecurity.AuthenticationException
- Performs authentication with the same contract as AuthenticationManager.authenticate(Authentication)>
AuthenticationManager.authenticate(Authentication)55 .
supports
public boolean supports(java.lang.Class authentication)
- Returns
trueif thisAuthenticationProvidersupports the indicatedAuthenticationobject.Returning
truedoes not guarantee anAuthenticationProviderwill be able to authenticate the presented instance of theAuthenticationclass. It simply indicates it can support closer evaluation of it. AnAuthenticationProvidercan still returnnullfrom theauthenticate(Authentication)55 method to indicate anotherAuthenticationProvidershould be tried.Selection of an
AuthenticationProvidercapable of performing authentication is conducted at runtime theProviderManager.
|
|||||||||
| Home >> All >> net >> sf >> acegisecurity >> [ providers overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC