Issue Details (XML | Word | Printable)

Key: SEC-273
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Ben Alex
Votes: 5
Watchers: 4
Operations

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

AccessDecisionVoter that supports conditional roles

Created: 23/May/06 06:46 AM   Updated: 30/Sep/08 08:12 AM
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.5

Time Tracking:
Not Specified

File Attachments: 1. Java Archive File acegi-conditinalroles.jar (14 kB)
2. Zip Archive acegi-conditionalroles.zip (11 kB)



 Description  « Hide
Peter Veentjer has offered to share some code that provides an AccessDecisionManager that add conditional logic to access authorization votes.

 All   Comments   Work Log   Change History   FishEye   Related Builds      Sort Order: Ascending order - Click to sort in descending order
Usama Rashwan added a comment - 19/Jul/07 09:51 AM
this is a batch to support conditional roles
see this forum for more details
http://forum.springframework.org/showthread.php?t=39385

Usama Rashwan added a comment - 19/Jul/07 12:21 PM
this is the patch containing the java source files not class

Luke Taylor added a comment - 17/Jul/08 01:26 PM
This will hopefully be superceded by support for more sophisticated expressions.

Usama Rashwan added a comment - 18/Jul/08 10:27 AM
Luke , can i know what you mean by support for more sophisticated expressions. the expressions is limited by the expression language used in the condition .
and i think MVEL is best candied

 

Garth Dahlstrom added a comment - 03/Sep/08 02:56 PM
I was reading the blog entry here: http://blog.gomilko.com/2008/01/12/acegi-conditional-roles/ about possibly being able to guard methods with @Secured annotation expressions...

I'm wondering does this jar work with Spring 2.0 currently and if anyone has simple test app that one could use to see how it works in action?

Luke Taylor added a comment - 30/Sep/08 08:12 AM
I mean that we hope to provide more complicated expression support in a future version, which will supercede this issue.