Hi Friends,
          I am implement axis2 security by using rampart and i using
UsernameToken and Signature as a securities, what i need is the user name in
usernameToken and alias name in Signature as different , but i am unable to
configure like this. kindly help me to provide different names for
usernametoken and signature.
My axis2.xml configuration is as follows:

 <parameter name="OutflowSecurity">
      <action>
        <items>UsernameToken Signature</items>
        <user>clientToken</user>
        <signaturePropFile>client.properties</signaturePropFile>
        <passwordCallbackClass>com.test.PWCBHandler</passwordCallbackClass>
        <signatureKeyIdentifier>DirectReference</signatureKeyIdentifier>
      </action>
</parameter>

signature properties file is:
org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=jks
org.apache.ws.security.crypto.merlin.keystore.alias=clientsecurity
org.apache.ws.security.crypto.merlin.keystore.password=password
org.apache.ws.security.crypto.merlin.file=kiwiclient.jks

 and also provide me the flow of  PasswordCallHandler if possible.

Thanks & Regards
----------------
Siva kumar
-- 
View this message in context: 
http://old.nabble.com/Is-Usernametoken-username-and-keystore-alias-should-be-equal--tp26525254p26525254.html
Sent from the Axis - Dev mailing list archive at Nabble.com.

Reply via email to