Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Portal] - Re: How to get the subject in version
 2.6?

scott.stark@jboss.org

2007-08-06


I guess I could do something like this:

|       Subject subject = (Subject) PolicyContext
|          .getContext("javax.security.auth.Subject.container");

But, how can I set this? Essentially, I want to set this to the new subject (with the additional principals) so that when the JBoss Portal JACC* APIs do a call like the above, they get the updated/modified subject.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071399
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.