[prev in list] [next in list] [prev in thread] [next in thread]
List: kandula-dev
Subject: [jira] [Commented] (RAMPART-186) Password call back not copied over when the call back is set via a
From: "anbu (JIRA)" <jira () apache ! org>
Date: 2014-01-13 10:51:51
Message-ID: JIRA.12400271.1216099864274.85980.1389610311108 () arcas
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/RAMPART-186?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=13869419#comment-13869419 ]
anbu commented on RAMPART-186:
------------------------------
Hi
I have also getting the same error
Caused by: org.apache.rampart.RampartException: Password CallbackHandler not \
specified in rampart configuration policy or the CallbackHandler instance not \
available in the MessageContext
my stub code is look like
stub._getServiceClient().getOptions().setUserName("username");
stub._getServiceClient().getOptions().setProperty(WSHandlerConstants.PW_CALLBACK_CLASS, \
"<package>.Handler");
Can you please any one let me know what could be the root cause
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic