This content has been marked as final.
Show 1 reply
-
1. Re: AOP Security Service
bill.burke Jun 21, 2004 3:03 PM (in response to kado0002)This is on my todo list, but I've never gotten around to it.
So you want a SecurityContext object that has:
getCaller
getRole
isCallerInRole
what else?
To get access to it, I was thinking of a field annotation.public MyClass { @Inject SecurityContext securityContext; }
Accessing the field securityContext would be intercepted and the correct context object would be accessed from a thread local.
What are your thoughts? Would you like to implement this? I can help you spec it out. I know what needs to be done, just don't have the cycles until after JavaOne. Email me directly at bill@jboss.org if you're interested in implementing. Other than that, put your suggestions here on this forum
Thanks,
Bill