For thread based usage, you will need to know the name of the security domain for your
application. Then, you need to establish a security context on the thread:
| SecurityContext sc = SecurityContextFactory.createSecurityContext(string
securitydomainname, Principal, Object, Subject);
| SecurityContextAssociation.setSecurityContext(sc);
|
Look at the security/security-spi and security/security-jboss-sx projects
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159109#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...