History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LOOM-159
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ignacio Coloma
Reporter: Ignacio Coloma
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Loom

Remove "ROLE_" prefix from SpringSecurityAdapter (warning: breaks existing behavior)

Created: 24/Mar/09 01:09 PM   Updated: 24/Mar/09 01:14 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5


 Description  « Hide
The "ROLE_" prefix will be removed by default from SpringSecurityAdapter to provide homogeneity for using and retrieving role names from the repository. From now on, role names will be used as they were retrieved from the database, without prepending any "ROLE_" prefix.

To get back the previous behavior, just add this to your spring config file:

<bean class="org.loom.security.SpringSecurityAdapter" p:rolePrefix="ROLE_" />


 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.