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 Siva <si...@naradaproducts.com> on 2009/12/28 11:05:44 UTC

BST is null

Hi Friends,

                  I am integerated axis2 1.5 and rampart 1.5 to my webservices, i am getting BinarySecurityToken(BST) is null, but it is previously worked with axis2 1.4 /rampart 1.4 . kindly help me

40813 [28/12/2009 15:30:46:075] [http-8080-Processor24] DEBUG org.apache.ws.security.processor.EncryptedKeyProcessor  - BST Alias: null
40813 [28/12/2009 15:30:46:075] [http-8080-Processor24] INFO  com.ycs.narada.services.PasswordCallBackHandler  - PasswordCallback handle
40828 [28/12/2009 15:30:46:090] [http-8080-Processor24] DEBUG org.apache.rampart.handler.WSDoAllReceiver  - WSDoAllReceiver: exit invoke()
40828 [28/12/2009 15:30:46:090] [http-8080-Processor24] ERROR org.apache.axis2.engine.AxisEngine  - WSDoAllReceiver: security processing failed
org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed
 at org.apache.rampart.handler.WSDoAllReceiver.processBasic(WSDoAllReceiver.java:214)
 at org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:86)
 at org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:72)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
 at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
 at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:142)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.ws.security.WSSecurityException: General security error (WSSecurityEngine: Callback supplied no password for: null); nested exception is: 
 java.io.IOException: PasswordCallback: unrecognized password callback instance or callback usage
 at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:306)
 at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:104)
 at org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:84)
 at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:326)
 at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:243)
 at org.apache.rampart.handler.WSDoAllReceiver.processBasic(WSDoAllReceiver.java:211)
 ... 23 more
Caused by: java.io.IOException: PasswordCallback: unrecognized password callback instance or callback usage
 at com.ycs.narada.services.PasswordCallBackHandler.handle(PasswordCallBackHandler.java:60)
 at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:304)
 ... 28 more


------------------------------------
with Regards,
Siva Kumar
 
"This e-mail message may contain confidential, proprietary or legally privileged information. It should not be used by anyone who is not the original intended recipient. If you have erroneously received this message, please delete it immediately and notify the sender. The recipient acknowledges that YALAMANCHILI or its subsidiaries and associated companies, are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of YALAMANCHILI Group.  Before opening any attachments please check them for viruses and defects."