I need access to the users subject from a servlet. When I access a unprotected
URL I can retrive it just fine
example:
SecurityAssociation.getSubject()
and
PolicyContext.getContext("javax.security.auth.Subject.container");
But if I go to a protected URL, (the url-pattern under security-constraints in
the web.xml) both of these methods return null.
I have attempted to use the JaasSecurityManagerService through JMX but it seams
to take three arguments, realm, principle, and an Object. I have not found any
documentation whast this thrid argument is.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956434#3956434
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956434
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user