You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Miguel Arauzo (JIRA)" <ji...@apache.org> on 2008/04/01 14:34:50 UTC
[jira] Created: (RAMPART-147) Header parts included in
EncryptedParts are not processed by Rampart
Header parts included in EncryptedParts are not processed by Rampart
--------------------------------------------------------------------
Key: RAMPART-147
URL: https://issues.apache.org/jira/browse/RAMPART-147
Project: Rampart
Issue Type: Bug
Components: rampart-policy
Affects Versions: 1.3
Reporter: Miguel Arauzo
Assignee: Ruchith Udayanga Fernando
The method 'processElement' from class org.apache.ws.secpolicy.builders.EncryptedPartsBuilder doesn't add the 'sp:Header' elements to the SignedEncryptedParts instance:
private void processElement(OMElement element, SignedEncryptedParts parent) {
QName name = element.getQName();
if (HEADER.equals(name)) {
Header header = new Header();
OMAttribute nameAttribute = element.getAttribute(NAME);
if( nameAttribute != null ) {
header.setName(nameAttribute.getAttributeValue());
}
OMAttribute namespaceAttribute = element.getAttribute(NAMESPACE);
header.setNamespace(namespaceAttribute.getAttributeValue());
<<== The following code is missing: parent.addHeader(header);
} else if (BODY.equals(name)) {
parent.setBody(true);
}
}
The result from this "missing line of code" is that it's impossible to process a message that has some encrypted element besides the SOAP body.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (RAMPART-147) Header parts included in
EncryptedParts are not processed by Rampart
Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAMPART-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584465#action_12584465 ]
Nandana Mihindukulasooriya commented on RAMPART-147:
----------------------------------------------------
Hi Miguel,
There will be Rampart release pretty soon. What we plan is to release Rampart just after Axis2 release [1]. And about the feature list, please go ahead and create a JIRA for that and we will include a detailed feature list for Rampart 1,4 in the Rampart site.
thanks,
/nandana
[1] - http://markmail.org/message/qqxywfhovu3fyz4r?q=list:org%2Eapache%2Ews%2Eaxis-dev
> Header parts included in EncryptedParts are not processed by Rampart
> --------------------------------------------------------------------
>
> Key: RAMPART-147
> URL: https://issues.apache.org/jira/browse/RAMPART-147
> Project: Rampart
> Issue Type: Bug
> Components: rampart-policy
> Affects Versions: 1.3
> Reporter: Miguel Arauzo
> Assignee: Ruchith Udayanga Fernando
>
> The method 'processElement' from class org.apache.ws.secpolicy.builders.EncryptedPartsBuilder doesn't add the 'sp:Header' elements to the SignedEncryptedParts instance:
> private void processElement(OMElement element, SignedEncryptedParts parent) {
>
> QName name = element.getQName();
>
> if (HEADER.equals(name)) {
> Header header = new Header();
>
> OMAttribute nameAttribute = element.getAttribute(NAME);
> if( nameAttribute != null ) {
> header.setName(nameAttribute.getAttributeValue());
> }
>
> OMAttribute namespaceAttribute = element.getAttribute(NAMESPACE);
> header.setNamespace(namespaceAttribute.getAttributeValue());
>
> <<== The following code is missing: parent.addHeader(header);
> } else if (BODY.equals(name)) {
> parent.setBody(true);
> }
> }
> The result from this "missing line of code" is that it's impossible to process a message that has some encrypted element besides the SOAP body.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (RAMPART-147) Header parts included in
EncryptedParts are not processed by Rampart
Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAMPART-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nandana Mihindukulasooriya closed RAMPART-147.
----------------------------------------------
Resolution: Fixed
Fixed in the trunk.
> Header parts included in EncryptedParts are not processed by Rampart
> --------------------------------------------------------------------
>
> Key: RAMPART-147
> URL: https://issues.apache.org/jira/browse/RAMPART-147
> Project: Rampart
> Issue Type: Bug
> Components: rampart-policy
> Affects Versions: 1.3
> Reporter: Miguel Arauzo
> Assignee: Ruchith Udayanga Fernando
>
> The method 'processElement' from class org.apache.ws.secpolicy.builders.EncryptedPartsBuilder doesn't add the 'sp:Header' elements to the SignedEncryptedParts instance:
> private void processElement(OMElement element, SignedEncryptedParts parent) {
>
> QName name = element.getQName();
>
> if (HEADER.equals(name)) {
> Header header = new Header();
>
> OMAttribute nameAttribute = element.getAttribute(NAME);
> if( nameAttribute != null ) {
> header.setName(nameAttribute.getAttributeValue());
> }
>
> OMAttribute namespaceAttribute = element.getAttribute(NAMESPACE);
> header.setNamespace(namespaceAttribute.getAttributeValue());
>
> <<== The following code is missing: parent.addHeader(header);
> } else if (BODY.equals(name)) {
> parent.setBody(true);
> }
> }
> The result from this "missing line of code" is that it's impossible to process a message that has some encrypted element besides the SOAP body.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (RAMPART-147) Header parts included in
EncryptedParts are not processed by Rampart
Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAMPART-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nandana Mihindukulasooriya updated RAMPART-147:
-----------------------------------------------
Fix Version/s: 1.4
Set Fix version to 1.4.
> Header parts included in EncryptedParts are not processed by Rampart
> --------------------------------------------------------------------
>
> Key: RAMPART-147
> URL: https://issues.apache.org/jira/browse/RAMPART-147
> Project: Rampart
> Issue Type: Bug
> Components: rampart-policy
> Affects Versions: 1.3
> Reporter: Miguel Arauzo
> Assignee: Ruchith Udayanga Fernando
> Fix For: 1.4
>
>
> The method 'processElement' from class org.apache.ws.secpolicy.builders.EncryptedPartsBuilder doesn't add the 'sp:Header' elements to the SignedEncryptedParts instance:
> private void processElement(OMElement element, SignedEncryptedParts parent) {
>
> QName name = element.getQName();
>
> if (HEADER.equals(name)) {
> Header header = new Header();
>
> OMAttribute nameAttribute = element.getAttribute(NAME);
> if( nameAttribute != null ) {
> header.setName(nameAttribute.getAttributeValue());
> }
>
> OMAttribute namespaceAttribute = element.getAttribute(NAMESPACE);
> header.setNamespace(namespaceAttribute.getAttributeValue());
>
> <<== The following code is missing: parent.addHeader(header);
> } else if (BODY.equals(name)) {
> parent.setBody(true);
> }
> }
> The result from this "missing line of code" is that it's impossible to process a message that has some encrypted element besides the SOAP body.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (RAMPART-147) Header parts included in
EncryptedParts are not processed by Rampart
Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAMPART-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584385#action_12584385 ]
Nandana Mihindukulasooriya commented on RAMPART-147:
----------------------------------------------------
Hi Miguel,
What is the revision you are referring to. In Rampart 1.3 we didn't support Encrypted Headers. And in the trunk , that line is there.
https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-policy/src/main/java/org/apache/ws/secpolicy11/builders/EncryptedPartsBuilder.java
thanks,
/nandana
> Header parts included in EncryptedParts are not processed by Rampart
> --------------------------------------------------------------------
>
> Key: RAMPART-147
> URL: https://issues.apache.org/jira/browse/RAMPART-147
> Project: Rampart
> Issue Type: Bug
> Components: rampart-policy
> Affects Versions: 1.3
> Reporter: Miguel Arauzo
> Assignee: Ruchith Udayanga Fernando
>
> The method 'processElement' from class org.apache.ws.secpolicy.builders.EncryptedPartsBuilder doesn't add the 'sp:Header' elements to the SignedEncryptedParts instance:
> private void processElement(OMElement element, SignedEncryptedParts parent) {
>
> QName name = element.getQName();
>
> if (HEADER.equals(name)) {
> Header header = new Header();
>
> OMAttribute nameAttribute = element.getAttribute(NAME);
> if( nameAttribute != null ) {
> header.setName(nameAttribute.getAttributeValue());
> }
>
> OMAttribute namespaceAttribute = element.getAttribute(NAMESPACE);
> header.setNamespace(namespaceAttribute.getAttributeValue());
>
> <<== The following code is missing: parent.addHeader(header);
> } else if (BODY.equals(name)) {
> parent.setBody(true);
> }
> }
> The result from this "missing line of code" is that it's impossible to process a message that has some encrypted element besides the SOAP body.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (RAMPART-147) Header parts included in
EncryptedParts are not processed by Rampart
Posted by "Miguel Arauzo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/RAMPART-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584458#action_12584458 ]
Miguel Arauzo commented on RAMPART-147:
---------------------------------------
Hi Nandana,
I was referring to the official 1.3 release. I downloaded the last nightly build (from the 31st March) and saw that it had been corrected. But we are working in a production environment and need a stable release.
Where can I find the list of supported features for the 1.3 release? I could find very little documentation on WS-Policy support in Rampart.
And do you happen to know when the next stable release will be available?
Thanks
> Header parts included in EncryptedParts are not processed by Rampart
> --------------------------------------------------------------------
>
> Key: RAMPART-147
> URL: https://issues.apache.org/jira/browse/RAMPART-147
> Project: Rampart
> Issue Type: Bug
> Components: rampart-policy
> Affects Versions: 1.3
> Reporter: Miguel Arauzo
> Assignee: Ruchith Udayanga Fernando
>
> The method 'processElement' from class org.apache.ws.secpolicy.builders.EncryptedPartsBuilder doesn't add the 'sp:Header' elements to the SignedEncryptedParts instance:
> private void processElement(OMElement element, SignedEncryptedParts parent) {
>
> QName name = element.getQName();
>
> if (HEADER.equals(name)) {
> Header header = new Header();
>
> OMAttribute nameAttribute = element.getAttribute(NAME);
> if( nameAttribute != null ) {
> header.setName(nameAttribute.getAttributeValue());
> }
>
> OMAttribute namespaceAttribute = element.getAttribute(NAMESPACE);
> header.setNamespace(namespaceAttribute.getAttributeValue());
>
> <<== The following code is missing: parent.addHeader(header);
> } else if (BODY.equals(name)) {
> parent.setBody(true);
> }
> }
> The result from this "missing line of code" is that it's impossible to process a message that has some encrypted element besides the SOAP body.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.