Java Web Service needs custom security token

  • Thread starter Thread starter godd
  • Start date Start date
G

godd

I am consuming Axis web service and one of the requirements is to
provide custom security token in a SOAP header like that:
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>username </wsse:Username>
<wsse:Password> password </wsse:Password>
</wsse:UsernameToken>
<AccessIDToken> <ID>someIDhere </ID> </AccessIDToken>
</wsse:Security>

Is it possible in Net? I found some hints about creating custom
SecurityTokenManager and custom Policy classes, but it looks like
overkill for me. Also I probably can create SOAP envelope manually and
send it via System.Net.HttpWebRequest, but I'd like to use power of
proxy class.

I use WSE3 and a proxy class, generated by WseWSDL3.exe utility.

Thanks,
godd
 
Back
Top