rolevoter

Acegi RoleVoter

Adding new role to Acegi secured application may be painful sometime.

Tip of the day: by default RoleVoter is only accepting roles with names starting with prefix ROLE_ (take a look on javadoc here). You easily can change this prefix while defining RoleVoter bean (this is usually configured in file WEB-INF/security.xml)


    
        YOUR_CUSTOM_PREFIX
    

That’s all for today about Acegi 😉