[jbossws-issues] [JBoss JIRA] Updated: (JBWS-3096) WebServiceContext#getUserPrincipal() returns null in JBossWS Metro stack when the user is authenticated

Yue Ni (JIRA) jira-events at lists.jboss.org
Fri Aug 27 03:39:12 EDT 2010


     [ https://jira.jboss.org/browse/JBWS-3096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yue Ni updated JBWS-3096:
-------------------------

    Attachment: hello-service.zip


> 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, 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