Continuing this little discussion between me myself and I...
Found the following logs:
2008-01-15 09:19:36,480 DEBUG [org.jboss.wsf.framework.DefaultSPIProvider]
class org.jboss.wsf.spi.invocation.SecurityAdaptorFactory Implementation:
[EMAIL PROTECTED]
2008-01-15 09:19:36,482 TRACE [org.jboss.security.SecurityAssociation]
setPrincipal, p=kermit, server=true
2008-01-15 09:19:36,483 TRACE [org.jboss.security.SecurityAssociation]
setPrincipal, [EMAIL PROTECTED],subject=null}
2008-01-15 09:19:36,483 TRACE [org.jboss.security.SecurityAssociation]
setCredential, [EMAIL PROTECTED],subject=null}
Looks like the principal information is set but subject is not, why?
When adding:
System.out.println("Getting principal from SecurityAssociation: " +
org.jboss.security.SecurityAssociation.getPrincipal());
|
to the server side implementation of my WS I do get the following log:
2008-01-15 09:19:37,135 INFO [STDOUT] Getting principal from
SecurityAssociation: kermit
I would much rather use the standard mechanisms to obtain the principal info.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119947#4119947
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119947
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user