Scenario: Authentication
Support: full-sdk auth-sdk
The changeBackendPassword command serves to change the user's static Active Directory password with a configured back end of OneSpan Authentication Server. The user must authenticate in OneSpan Authentication Server using local authentication, for this operation to succeed.
If password randomization is enabled in OneSpan Authentication Server, the effective policy used by OneSpan Authentication Server must not apply password proxying for the changeBackendPassword SOAP command. Otherwise, this will lead to a user with a randomized password being able to change the password.
Parameters
| Parameter name | Data type | Description |
|---|---|---|
| componentType | String | Required. Specifies the component to which the password change is applied. |
| user | UserInput | Required. The user input information (see UserInput (Data type)). This specifies the user who changes the password. |
| credential | CredentialInput | Required. The credential parameters used to authenticate the user. |
| newStaticPassword | String | Required. The new password to be set for the user. |
UserInput (Data type)
| Element name | Data type | Description |
|---|---|---|
| userID | String | The user ID. |
| domain | String | Optional. The user domain. |
CredentialInput (Data type)
PinChange (Data type)
| Parameter name | Data type | Description |
|---|---|---|
| currentPin | String | Required. The user's current PIN. |
| newPin | String | Required. The new PIN, to be set by the user. |
ChangeBackendPasswordResult (Data type)
UserOutput (Data type)
| Element name | Data type | Description |
|---|---|---|
| userID | String | The resolved user ID. |
| domain | String | The user domain. |
| orgUnit | String | Optional. The organizational unit of the user. |
CredentialOutput (Data type)
Example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <aut:changeBackendPassword xmlns:aut="http://www.vasco.com/IdentikeyServer/IdentikeyTypes/Authentication"> <componentType>SOAP-LocalAuth</componentType> <user> <userID>user_pws</userID> <domain>MASTER</domain> </user> <credential> <staticPassword>Test1234</staticPassword> </credential> <newStaticPassword>newPass1</newStaticPassword> </aut:changeBackendPassword> </soapenv:Body> </soapenv:Envelope>
Additional considerations
If you use this command to update the static password of a user account and the Invalidate Sessions on Password Change option and the Password Autolearn policy are both enabled, any interactive administrative session of that user account that is currently active is expired.