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 "Hans G Knudsen (JIRA)" <ji...@apache.org> on 2007/12/12 16:29:43 UTC

[jira] Commented: (RAMPART-78) Rampart ignores the ramp:encryptionCypto

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

Hans G Knudsen commented on RAMPART-78:
---------------------------------------

Hi!

RampartConfig.ENCR_CRYPTO_LN has a typo :

encryptionCypto  

and not :

encryptionCrypto



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