Update Static Password

Prev Next

This operation requests OneSpan Authentication Server to update the static password for a specified user. To execute this operation, the registered client application should send an updatePassword SOAP command to OneSpan Authentication Server. The updatePassword command should, at a minimum, specify the following credential field attributes:

  • CREDFLD_USERID
  • CREDFLD_COMPONENT_TYPE. Indicates the client application component type.
  • Current static password specified via the CREDFLD_PASSWORD credential attribute.
  • New static password specified via the CREDFLD_NEW_STATIC_PASSWORD credential attribute.
  • New static password confirmation specified via the CREDFLD_CONFIRM_NEW_STATIC_PASSWORD credential attribute.

A client application with component type SOAP Auth Client will typically send the following SOAP command to request a static password change for user test1:

<soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:aut="http://www.vasco.com/IdentikeyServer/IdentikeyTypes/Authentication">
  <!-- ... Additional namespace declarations -->
  <soapenv:Header/>
  <soapenv:Body>
    <aut:updatePassword>
      <credentialAttributeSet>
        <attributes>
          <value xsi:type="xsd:string">SOAP Auth Client</value>
          <attributeID>CREDFLD_COMPONENT_TYPE</attributeID>
        </attributes>
        <attributes>
          <value xsi:type="xsd:string">test1</value>
          <attributeID>CREDFLD_USERID</attributeID>
        </attributes>
        <attributes>
          <value xsi:type="xsd:string">oldpassword</value>
          <attributeID>CREDFLD_STATIC_PASSWORD</attributeID>
        </attributes>
        <attributes>
          <value xsi:type="xsd:string">newpassword</value>
          <attributeID>CREDFLD_NEW_STATIC_PASSWORD</attributeID>
        </attributes>
        <attributes>
          <value xsi:type="xsd:string">newpassword</value>
          <attributeID>CREDFLD_CONFIRM_NEW_STATIC_PASSWORD</attributeID>
        </attributes>
      </credentialAttributeSet>
    </aut:updatePassword>
  </soapenv:Body>
</soapenv:Envelope>