]
Alessio Soldano updated JBWS-3096:
----------------------------------
Fix Version/s: community contributions
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
Fix For: community contributions
Attachments: hello-service.zip, 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: