on 12-21-2011 5:44 AM
Hi Friends,
we have the requairment i.e
1) The end user can be able to unlock the his user, if any reasion the user locked.
2) The end user can be able to reset the password or to generate new password, if he forget the password.
Note : The user don't have the authorisations for adminstaraion level access in portal or ECC system.
Please let me know is it possible or not through webdynpro java Applicaion.
If possible let me know how to do?
Thanks & Regards,
Murali
You can have a simple WD application to change the password -
Now regarding unlocking an account, i believe can be done only through administrator.
/thread/834052 [original link is broken]
Regards,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahesh,
I tried password change example, but i am getting the following error.
The initial exception that caused the request to fail, was:
com.sap.security.api.UMRuntimeException: Maint method setAttribute cannot be used because the principal is not mutable!
at com.sap.security.core.imp.AbstractPrincipal.setAttributeValues(AbstractPrincipal.java:2012)
at com.sap.security.core.imp.AbstractPrincipal.setAttributeValues(AbstractPrincipal.java:1999)
at com.sap.security.core.imp.AbstractUserAccount.setPassword(AbstractUserAccount.java:1476)
at com.sap.security.core.imp.UserAccountWrapper.setPassword(UserAccountWrapper.java:276)
at com.passwordresetapp.PasswordResetView.onActionChange(PasswordResetView.java:165)
... 30 more
Thanks & Regards,
Murali
Hi Mahesh,
Thanks for ur information.
it is working fine.
One more thing , how to get the mail id and user information like first name , last name and security answer etc. from the user data base and that changed password have to send to that mail.
Please let me know it is possible or not? i didn't found any method for getting mail id in com.sap.security.api API.
Thanks & Regards,
Murali
Edited by: Murali143 on Dec 22, 2011 6:31 AM
userAcct.getAssignedUser() to get IUser.
Details of IUser - http://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/IUser.html
Hi,
2.Yes. end user will do this by using Webdynpro JAVA
Please look at this document [Password Change and Reset in WDJ|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0824360-ca0e-2e10-9495-c9deeb7e0d2d]
Best Regards
Vijay K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.