NoName (Migrated from SEC-1583) said:
from Docs http://static.springsource.org/spring-security/site/docs/3.0.x/reference/ns-config.html
but "hasAuthority" is wrong. work around is to use "hasRole" instead.
also is not working.
java.lang.IllegalArgumentException: Failed to evaluate expression 'IS_AUTHENTICATED_ANONYMOUSLY'
work around is to use:
Luke Taylor said:
I've added support for hasAuthority() and hasAnyAuthority() expressions to SecurityExpressionRoot.