Table of Contents

Search

  1. Preface
  2. Web Services
  3. SOAP Web Services
  4. WSDL Data Object
  5. Schema Object
  6. How to Create a SOAP Web Service
  7. Operation Mappings
  8. Parsing Web Service SOAP Messages
  9. Generating Web Service SOAP Messages
  10. Web Service Consumer Transformation
  11. REST Web Services
  12. How to Create a REST Web Service
  13. REST Web Service Consumer Transformation
  14. REST and SOAP Web Service Administration
  15. Datatype Compatibility

Web Services Guide

Web Services Guide

Hashed Password

Hashed Password

Include a hashed password in the user name token header of a SOAP request when the user password must be encrypted. The Data Integration Service can process hashed passwords in the UsernameToken element.
When you use a hashed password, the UsernameToken element includes the following child elements:
Username element
Contains a user name in the Native security domain.
Password element
Contains a hashed password. The password must be hashed with the MD5 or SHA-1 hash function and encoded to Base64. Set the Type attribute of the Password element to "PasswordText."
The following sample SOAP header shows an example of a UsernameToken element with a hashed password:
<soap:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-14" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Username>Administrator</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Ntm58Cxf7SBOQAz3OlsTq1nv-D7</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soap:Header>