axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Natanasabai C <nad...@gmail.com>
Subject [axis2 1.6.0] with rampart - help required for X509
Date Wed, 25 Apr 2012 07:34:25 GMT
Hi,

I am using axis2 1.6.0 with rampart 1.6.0 in the client side to invoke a
secured web service which is not a java based.

Please let me know if it is possible to use X509 for WS-Security
authentication based on credentials from keystore, without encryption and
without signature.
If it is, what are the properties that you need to set in Rampart config.
Appreciate your help.

My sample SOAP request is below.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:test="http://www.walgreens.com/test/">
    <soapenv:Header>
<wsse:Security
            xmlns:wsse="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
">
            <wsse:BinarySecurityToken
                xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
"
                wsu:Id="Id-0001332817793287-fa74d0d44f712f8103100000-2"
                ValueType="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3
"
                EncodingType="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary
">

MIIDFjCCAtQCBE+RlnwwCwYHKoZIzjgEAwUAMHExCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhJbGxpbm9pczESMBAGA1UEBxMJRGVlcmZpZWxkMRIwEAYDVQQKEwlXYWxncmVlbnMxDjAMBgNVBAsTBUVDb21tMRcwFQYDVQQDEw5TYW5kZWVwIE1ha2tlcjAeFw0xMjA0MjAxNzAxNDhaFw0yMDA3MDcxNzAxNDhaMHExCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhJbGxpbm9pczESMBAGA1UEBxMJRGVlcmZpZWxkMRIwEAYDVQQKEwlXYWxncmVlbnMxDjAMBgNVBAsTBUVDb21tMRcwFQYDVQQDEw5TYW5kZWVwIE1ha2tlcjCCAbcwggEsBgcqhkjOOAQBMIIBHwKBgQD9f1OBHXUSKVLfSpwu7OTn9hG3UjzvRADDHj+AtlEmaUVdQCJR+1k9jVj6v8X1ujD2y5tVbNeBO4AdNG/yZmC3a5lQpaSfn+gEexAiwk+7qdf+t8Yb+DtX58aophUPBPuD9tPFHsMCNVQTWhaRMvZ1864rYdcq7/IiAxmd0UgBxwIVAJdgUI8VIwvMspK5gqLrhAvwWBz1AoGBAPfhoIXWmz3ey7yrXDa4V7l5lK+7+jrqgvlXTAs9B4JnUVlXjrrUWU/mcQcQgYC0SRZxI+hMKBYTt88JMozIpuE8FnqLVHyNKOCjrh4rs6Z1kW6jfwv6ITVi8ftiegEkO8yk8b6oUZCJqIPf4VrlnwaSi2ZegHtVJWQBTDv+z0kqA4GEAAKBgG3X+p6aKblD9zxH9zb32+sey0AKxEm6/0ogFXNTUip9a7U0HtYpMuuJu64iYPI37gVy2tKZ8uD67Mrc0r+LlwqucOHI5lkUtljJKOqMBDBvpG7y/J0vl5EdubpSOq5KDbUycdVaw+PqEFNe69QI0Nt9SZYAtX3WLWnC3FG8q9LKMAsGByqGSM44BAMFAAMvADAsAhRZIocw5gcX4nMdP8+7XskBQBboGAIUWgOwoV89xZSzVjfhj8NG8VlqoCY=
            </wsse:BinarySecurityToken>
        </wsse:Security>
    </soapenv:Header>
   <soapenv:Body>
      <test:TestRequest>
         <name>Testing</name>
      </test:TestRequest>
   </soapenv:Body>
</soapenv:Envelope>

Thanks and regards,
Natanasabai C.

Mime
View raw message