[prev in list] [next in list] [prev in thread] [next in thread]
List: wss4j-dev
Subject: [jira] Closed: (WSS-182) Encryption with symmetric key with
From: "Colm O hEigeartaigh (JIRA)" <jira () apache ! org>
Date: 2009-04-30 11:12:30
Message-ID: 1467987152.1241089950897.JavaMail.jira () brutus
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/WSS-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Colm O hEigeartaigh closed WSS-182.
-----------------------------------
> Encryption with symmetric key with encryptSymmKey set to false generates invalid \
> xml without xenc defined
> ---------------------------------------------------------------------------------------------------------
>
> Key: WSS-182
> URL: https://issues.apache.org/jira/browse/WSS-182
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Core
> Affects Versions: 1.5.7
> Environment: tomcat + axis 1.4 + wss4j 1.5.7
> Reporter: Nitin Handa
> Assignee: Colm O hEigeartaigh
> Priority: Blocker
> Fix For: 1.5.8, 1.6
>
>
> WSSecEncrypt.java below function doesn't define xenc prefix being used. if \
> encryptSymmKey set to false then ReferenceList is the only element which is \
> inserted in soap response. public Element encryptForInternalRef(Element dataRef, \
> List references) throws WSSecurityException {
> List encDataRefs =
> doEncryption(document, symmetricKey, references);
> Element referenceList = dataRef;
> if (referenceList == null) {
> referenceList =
> document.createElementNS(
> WSConstants.ENC_NS,
> WSConstants.ENC_PREFIX + ":ReferenceList"
> );
> }
> createDataRefList(document, referenceList, encDataRefs);
> return referenceList;
> }
> It should call set namespace like createEncryptedKey function (of \
> WSSecEncryptedKey.java) does: WSSecurityUtil.setNamespace(encryptedKey, \
> WSConstants.ENC_NS, WSConstants.ENC_PREFIX);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-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