[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-dev
Subject:    [jira] [Closed] (WSS-328) Impossible to sign BST since 1.6.x
From:       "Colm O hEigeartaigh (JIRA)" <jira () apache ! org>
Date:       2014-10-07 8:05:36
Message-ID: JIRA.12534152.1323246762000.206400.1412669136440 () Atlassian ! JIRA
[Download RAW message or body]


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

Colm O hEigeartaigh closed WSS-328.
-----------------------------------

> Impossible to sign BST since 1.6.x
> ----------------------------------
> 
> Key: WSS-328
> URL: https://issues.apache.org/jira/browse/WSS-328
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Core
> Affects Versions: 1.6.3
> Reporter: Willem Salembier
> Assignee: Colm O hEigeartaigh
> 
> The org.apache.ws.security.message.WSSecSignature::build method has been changed to \
> first compute the signature and afterwards prepend the BST to the security header. \
> If the requirement is to sign the BST, the computeSignature doesn't find the BST.  \
> Vector<WSEncryptionPart> parts = new Vector<WSEncryptionPart>();  parts.add(new \
> WSEncryptionPart(WSConstants.BINARY_TOKEN_LN, WSConstants.WSSE_NS, "Element"));  \
> signature.setParts(parts); In 1.5.x there was also a wildcard "Token" to sign the \
> security token, but this is not supported anymore in 1.6.x.  \
> Vector<WSEncryptionPart> parts = new Vector<WSEncryptionPart>();  parts.add(new \
> WSEncryptionPart("Token", null, "Element"));  signature.setParts(parts);



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic