|
|||||||||
| Home >> All >> org >> [ acegisecurity overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.acegisecurity
Interface AuthenticationTrustResolver

- All Known Implementing Classes:
- AuthenticationTrustResolverImpl
- public interface AuthenticationTrustResolver
Evaluates Authentication tokens
- Version:
- $Id: AuthenticationTrustResolver.java,v 1.2 2005/11/17 00:55:49 benalex Exp $
| Method Summary | |
boolean |
isAnonymous(Authentication authentication)
Indicates whether the passed Authentication token
represents an anonymous user. |
boolean |
isRememberMe(Authentication authentication)
Indicates whether the passed Authentication token
represents user that has been remembered (ie not a user that has been
fully authenticated). |
| Method Detail |
isAnonymous
public boolean isAnonymous(Authentication authentication)
- Indicates whether the passed
Authenticationtoken represents an anonymous user. Typically the framework will call this method if it is trying to decide whether anAccessDeniedExceptionshould result in a final rejection (ie as would be the case if the principal was non-anonymous/fully authenticated) or direct the principal to attempt actual authentication (ie as would be the case if theAuthenticationwas merely anonymous).
isRememberMe
public boolean isRememberMe(Authentication authentication)
- Indicates whether the passed
Authenticationtoken represents user that has been remembered (ie not a user that has been fully authenticated).No part of the framework uses this method, as it is a weak definition of trust levels. The method is provided simply to assist with custom
AccessDecisionVoters and the like that you might develop. Of course, you don't need to use this method either and can develop your own "trust level" hierarchy instead.
|
|||||||||
| Home >> All >> org >> [ acegisecurity overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC