[ 
https://issues.apache.org/jira/browse/RAMPART-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sumit Shah updated RAMPART-206:
-------------------------------

    Attachment: RampartUtil.java

I have fixed the issue. Please review.
-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
>         Attachments: RampartUtil.java
>
>
> 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.

Reply via email to