Votes if a
ConfigAttribute.getAttribute of IS_AUTHENTICATED_FULLY or
IS_AUTHENTICATED_REMEMBERED or IS_AUTHENTICATED_ANONYMOUSLY is present. This list is in
order of most strict checking to least strict checking.
The current Authentication will be inspected to determine if the principal has a particular
level of authentication. The "FULLY" authenticated option means the user is authenticated fully (ie
org.acegisecurity.AuthenticationTrustResolver.isAnonymous(Authentication) is false and
org.acegisecurity.AuthenticationTrustResolver.isRememberMe(Authentication) is false. The "REMEMBERED" will grant
access if the principal was either authenticated via remember-me OR is fully authenticated. The "ANONYMOUSLY" will
grant access if the principal was authenticated via remember-me, OR anonymously, OR via full authentication.
All comparisons and prefixes are case sensitive.
author: Ben Alex version: $Id: AuthenticatedVoter.java 1948 2007-08-25 00:15:30Z benalex $ |