axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashok T (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RAMPART-411) Unable to sign the BinarySecurityToken using Rampart 1.6.2
Date Tue, 25 Feb 2014 12:26:19 GMT
Ashok T created RAMPART-411:
-------------------------------

             Summary: Unable to sign the BinarySecurityToken using Rampart 1.6.2
                 Key: RAMPART-411
                 URL: https://issues.apache.org/jira/browse/RAMPART-411
             Project: Rampart
          Issue Type: Bug
          Components: rampart-policy
    Affects Versions: 1.6.2
         Environment: Axis2 1.6.2 , Java 7 and Rampart 1.6.2
            Reporter: Ashok T
            Priority: Critical


While try to enable the binarysecuritytoken in the signatureparts in the axis2.xml am getting
this error . This is happpened only when adding BST element

axis2.xml
----------

 <action>
        <items>Timestamp Signature</items>
        <user>Test User</user>
      <passwordCallbackClass>com.PWCBHandler</passwordCallbackClass>
        <signaturePropFile>client.properties</signaturePropFile> 
        <signatureParts>{Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;
        {Element}{http://schemas.xmlsoap.org/soap/envelope/} Body; 
        {Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}
BinarySecurityToken
        </signatureParts>
        <signatureKeyIdentifier>DirectReference</signatureKeyIdentifier> 
      </action


org.apache.ws.security.WSSecurityException: General security error (WSEncryptBody/WSSignEnvelope:
Element to encrypt/sign not found: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd,
BinarySecurityToken)
	at org.apache.ws.security.message.WSSecSignatureBase.addReferencesToSign(WSSecSignatureBase.java:160)





--
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


Mime
View raw message