[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: SecurityAssociation deprecated methods
anil.saldhana@jboss.com
do-not-reply at jboss.com
Wed Jun 18 17:33:53 EDT 2008
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#4159109
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159109
More information about the jboss-dev-forums
mailing list