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


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 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