You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Sumit Shah (JIRA)" <ji...@apache.org> on 2008/12/12 17:38:44 UTC

[jira] Commented: (RAMPART-206) RampartUtil.getToken() not setting parent properties on the STS service call resulting in HTTP 401 error

    [ https://issues.apache.org/jira/browse/RAMPART-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656055#action_12656055 ] 

Sumit Shah commented on RAMPART-206:
------------------------------------

I have fixed this issue locally. I am also attaching the source file. Please let me know if you want me to check in to the SVN stream.
 - Sumit

> RampartUtil.getToken() not setting parent properties on the STS service call resulting in HTTP 401 error
> --------------------------------------------------------------------------------------------------------
>
>                 Key: RAMPART-206
>                 URL: https://issues.apache.org/jira/browse/RAMPART-206
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core, rampart-integration, rampart-trust
>    Affects Versions: 1.4
>         Environment: Windows
>            Reporter: Sumit Shah
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Critical
>
> I have deployed my service in Weblogic 10. I am using Rampart and Rahas to send a Secure Conversation request. The RampartUtil and the STSClient make a service call to the STS service, but the RampartUtil.getToken() fails to set the ServiceClient options of the original service call. 
> The way I found this is I kept getting HTTP 401 from the server even though I had set the Authenticator on the ServiceClient options while making my business service call.  When I debugged, theRampartUtil.getToken() method call did not set the HTTP authenticator options on the STSClient. 
> The RampartUtil.getToken() at the very least should copy the Authenticator from the parent call to the STS call.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.