axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandana Mihindukulasooriya (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (RAMPART-186) Password call back not copied over when the call back is set via a parameter to the axis Service (Secure conversation)
Date Wed, 22 Dec 2010 11:20:02 GMT

     [ 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message