You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Nencho Lupanov <ne...@googlemail.com> on 2007/06/18 16:07:43 UTC

[rampart] rampartConfig user property

Hi all, i am using a policy with asymetric binding,therefore i use the
following rampart config:


<ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy">

<ramp:user>client</ramp:user>

<ramp:encryptionUser>service</ramp:encryptionUser>

<ramp:passwordCallbackClass>
org.apache.rampart.samples.policy.sample02.PWCBHandler</
ramp:passwordCallbackClass>

<ramp:signatureCrypto>

<ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin">

<ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS
</ramp:property>

<ramp:property name="org.apache.ws.security.crypto.merlin.file">client.jks</
ramp:property>

<ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password
">apache</ramp:property>

</ramp:crypto>

</ramp:signatureCrypto>

<ramp:encryptionCypto>

<ramp:crypto provider="org.apache.ws.security.components.crypto.Merlin">

<ramp:property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS
</ramp:property>

<ramp:property name="org.apache.ws.security.crypto.merlin.file">client.jks</
ramp:property>

<ramp:property name="org.apache.ws.security.crypto.merlin.keystore.password
">apache</ramp:property>

</ramp:crypto>

</ramp:encryptionCypto>

</ramp:RampartConfig>



does anyone knows why <ramp:user>client</ramp:user> tag value is used for
the value of the user field of a UsernameToken assertion since it is
supposed to be

the jks user of the client.jks keystore and is bounded to the keystore
password?!?!?!?!?