axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nencho Lupanov" <nencholupa...@googlemail.com>
Subject [rampart] rampartConfig user property
Date Mon, 18 Jun 2007 14:07:43 GMT
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?!?!?!?!?

Mime
View raw message