You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2014/10/07 10:05:35 UTC

[jira] [Closed] (WSS-440) BSPEnforcer doesn't accept valid references of type X509PKIPathv1

     [ https://issues.apache.org/jira/browse/WSS-440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed WSS-440.
-----------------------------------

> BSPEnforcer doesn't accept valid references of type X509PKIPathv1 
> ------------------------------------------------------------------
>
>                 Key: WSS-440
>                 URL: https://issues.apache.org/jira/browse/WSS-440
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Anli Shundi
>            Assignee: Colm O hEigeartaigh
>         Attachments: WSS-440.patch
>
>
> I get 
> org.apache.ws.security.WSSecurityException: An invalid security token was provided (Bad TokenType "")
> 	at org.apache.ws.security.str.BSPEnforcer.checkBinarySecurityBSPCompliance(BSPEnforcer.java:84)
> for 
>         <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
>             <wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509PKIPathv1" wsu:Id="CertId-0123" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">...
>                 <ds:KeyInfo Id="KeyId-0123">
>                     <wsse:SecurityTokenReference wsu:Id="STRId-0123" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
>                         <wsse:Reference URI="#CertId-0123" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509PKIPathv1"/>
>                     </wsse:SecurityTokenReference>
>                 </ds:KeyInfo>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org