Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1583: wrong info in Docs #1776

spring-issuemaster opened this Issue Oct 4, 2010 · 1 comment


None yet
1 participant

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.

@spring-issuemaster spring-issuemaster added this to the 3.1.0.M2 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment