I have to ws policy for signing and encryption and each user to have his or
her certificate, but in configuring my service I need to specify a specific
user in ws-security.encryption.username.
Any idea how to handle multiple users with different certificates?
Here my service configuration, if I don't specify
ws-security.encryption.username, client call does not work.
<jaxws:endpoint id="servicews"
implementor="ServiceWS"
wsdlLocation="wsdl/servicews.wsdl" address="/servicews">
<jaxws:features>
<bean
class="org.apache.cxf.feature.LoggingFeature" />
</jaxws:features>
<jaxws:properties>
<entry key="ws-security.callback-handler"
value="ServiceCallbackHandler"/>
<entry key="ws-security.ut.validator"
value="UTValidator"/>
<entry key="ws-security.encryption.username"
value="client"/>
<entry key="ws-security.signature.username"
value="server"/>
<entry key="ws-security.signature.properties"
value="keys/serverKeystore.properties"/>
<entry key="ws-security.encryption.properties"
value="keys/serverKeystore.properties"/>
</jaxws:properties>
</jaxws:endpoint>
--
View this message in context:
http://cxf.547215.n5.nabble.com/ws-security-encryption-username-problem-with-multiple-users-tp5622674p5622674.html
Sent from the cxf-user mailing list archive at Nabble.com.