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

Abdelaziz Samari updated RAMPART-78:
------------------------------------

    Description: 
It seems that rampart ignores the ramp:encryptionCypto in the 
ramp:RampartConfig assertion.

Theire is no implementation concerning the encryptionCypto in  the class 
RampartConfigBuilder.
I suggest to add th following code in the method build of the class 
RampartConfigBuilder:

        //encryptionCypto 
        childElement = element.getFirstChildWithName(new 
QName(RampartConfig.NS, RampartConfig.ENCR_CRYPTO_LN));
        
       if (childElement != null)  {

            rampartConfig.setEncrCryptoConfig((CryptoConfig) factory
                    .build(childElement.getFirstElement()));
        }

  was:
It seems that rampart ignores the ramp:encryptionCypto in the 
ramp:RampartConfig assertion.

Theire is no implementation concerning the encryptionCypto in  the class 
RampartConfigBuilder.
I suggest to add th following code in the method build of the class 
RampartConfigBuilder:

        //signatureCypto
        childElement = element.getFirstChildWithName(new 
QName(RampartConfig.NS, RampartConfig.ENCR_CRYPTO_LN));
        
       if (childElement != null)  {

            rampartConfig.setEncrCryptoConfig((CryptoConfig) factory
                    .build(childElement.getFirstElement()));
        }


> Rampart ignores the ramp:encryptionCypto
> ----------------------------------------
>
>                 Key: RAMPART-78
>                 URL: https://issues.apache.org/jira/browse/RAMPART-78
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-policy
>    Affects Versions: 1.1, 1.2, 1.3
>            Reporter: Abdelaziz Samari
>
> It seems that rampart ignores the ramp:encryptionCypto in the 
> ramp:RampartConfig assertion.
> Theire is no implementation concerning the encryptionCypto in  the class 
> RampartConfigBuilder.
> I suggest to add th following code in the method build of the class 
> RampartConfigBuilder:
>       //encryptionCypto 
>       childElement = element.getFirstChildWithName(new 
> QName(RampartConfig.NS, RampartConfig.ENCR_CRYPTO_LN));
>         
>        if (childElement != null)  {
>             rampartConfig.setEncrCryptoConfig((CryptoConfig) factory
>                     .build(childElement.getFirstElement()));
>         }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to