The SetPassword Web service changes the password of the user specified by the ProfileId argument. It requires the user’s current password for security reasons. The service checks the value of the supplied password (OriginalPassword) against the value stored for this user in the profile repository. If the values match, the password is changed to the new password.

Do not encrypt OriginalPassword or NewPassword. Both are expected to be cleartext as they are forward-hashed for comparison with the stored password value.

EAR file

userprofilingWebServices.ear

WAR file

usersession.war

Context root

userprofiling/usersession

Servlet

setPassword

Web Service URL

http://hostname:port/userprofiling/usersession/setPassword

WSDL URL

http://hostname:port/userprofiling/usersession/setPassword?WSDL

Web Service Class

webservice.SetPasswordSEIImpl

Input Parameters

String ProfileId
String OriginalPassword
String NewPassword

Output

None

Nucleus Component

/atg/userprofiling/ProfileServices (class atg.userprofiling.ProfileServices)

Method

setPassword(String pProfileId, String pOriginalPassword, String pNewPassword)

Executes within a session

Yes

Security FunctionalName

profileOwnerOperation


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices