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 [EMAIL PROTECTED] if you're interested in implementing.  Other 
than that, put your suggestions here on this forum

Thanks,

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839440#3839440

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839440


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to