[
https://issues.apache.org/jira/browse/RAMPART-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nandana Mihindukulasooriya resolved RAMPART-186.
------------------------------------------------
Resolution: Fixed
Fix Version/s: 1.5
Fixed in the trunk.
> Password call back not copied over when the call back is set via a parameter
> to the axis Service (Secure conversation)
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: RAMPART-186
> URL: https://issues.apache.org/jira/browse/RAMPART-186
> Project: Rampart
> Issue Type: Bug
> Reporter: Keith Godwin Chapman
> Assignee: Nandana Mihindukulasooriya
> Fix For: 1.5
>
>
> I'm implementing security scenarios in the WSO2 Mashup Server (This will
> allow users to access secure services using JavaScript).
> I set the password call back on the client as follows,
> axisService.addParameter(WSHandlerConstants.PW_CALLBACK_REF, new
> PasswordCallbackHandler(authorName));
> But unfortunatly rampart does not copy this over when making the request to
> obtain the token.
> Caused by: org.apache.rampart.RampartException: Password CallbackHandler not
> specified in rampart configuration policy or the CallbackHandler instance not
> available in the MessageContext
> at
> org.apache.rampart.builder.BindingBuilder.getSignatureBuider(BindingBuilder.java:266)
> at
> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignature(AsymmetricBindingBuilder.java:626)
> at
> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:413)
> at
> org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:93)
> at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
> at
> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]