[jbossws-issues] [JBoss JIRA] Created: (JBWS-3096) WebServiceContext#getUserPrincipal() returns null in JBossWS Metro stack when the user is authenticated
Yue Ni (JIRA)
jira-events at lists.jboss.org
Mon Aug 2 05:46:13 EDT 2010
WebServiceContext#getUserPrincipal() returns null in JBossWS Metro stack when the user is authenticated
-------------------------------------------------------------------------------------------------------
Key: JBWS-3096
URL: https://jira.jboss.org/browse/JBWS-3096
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-metro
Affects Versions: jbossws-metro-3.3.1
Environment: JBoss 5.0.1 EAP
Java 1.6
Reporter: Yue Ni
Attachments: hello-service.zip, request.xml
I am using JBossWS metro stack to implement Username Token profile authentication for a web service. The authentication will be triggered, and the credential information in SOAP header can be obtained in a custom realm authenticator.
However, even if the authentication pass and the service operation is performed, the WebServiceContext#getUserPrincipal() always returns null.
I attached a simple maven 2 project (for service implementation) and a SOAP request (sent with SOAP UI), you can use that to reproduce this issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list