[prev in list] [next in list] [prev in thread] [next in thread]
List: wss4j-dev
Subject: [jira] Commented: (WSS-77) "envelope" is always null, if build(..)
From: "verify () 0spam ! com (JIRA)" <jira () apache ! org>
Date: 2007-05-23 15:43:16
Message-ID: 20980434.1179934996766.JavaMail.jira () brutus
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/WSS-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498273 \
]
verify@0spam.com commented on WSS-77:
-------------------------------------
ATTENTION!
A message you recently sent to a 0Spam.com user with the subject "[jira] Created: \
(WSS-77) "envelope" is always null..." was not delivered because they are using the \
0Spam.com anti-spam service. Please click the link below to confirm that this is not \
spam. When you confirm, this message and all future messages you send will \
automatically be accepted.
http://www.0spam.com/v.cgi?user=1086966126&verify=513111
========================================
This is an automated message from 0Spam.com.
Please do not reply to this Email.
Looking for a free anti-spam service?
Visit us at http://www.0spam.com to find out more.
> "envelope" is always null, if build(..) is not invoked beforehands, therefore \
> doEncryption(..) fails
> ----------------------------------------------------------------------------------------------------
>
> Key: WSS-77
> URL: https://issues.apache.org/jira/browse/WSS-77
> Project: WSS4J
> Issue Type: Bug
> Environment: Axis2-1.2, rampart-1.2, wss4j-SNAPSHOT
> Reporter: Angel Todorov
> Assigned To: Davanum Srinivas
> Attachments: WSSecDKEncrypt.diff
>
>
> there is the following code in rampart's SymmetricBindingBuilder:
> refList = dkEncr.encryptForExternalRef(null, encrParts);
>
> RampartUtil.insertSiblingAfter(rmd,
> encrDKTokenElem,
> refList);
> This fails with NPE though, because internally, encryptForExternalRef calls \
> doEncryption(..) which tries to access the "envelope" instance which is always null \
> (except if build is not invoked before that). Envelope must be checked , and if \
> null, set to the instance obtained from "doc". I am attaching the fix. Thank you.
> Regards,
> Angel
--
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