XpressUtils - Helping Sun Identity Management Professionals
   
 
Utilities
Tech Talk
Tip of the day
You can add attachments to emails sent out by IDM. Refer to the article specifically guiding on how to accomplish this.

Current Poll
Which product (arranged below in alphabetical order), do you think has the best features in the 'Identity & Access Management' space today?

CA IDM
IBM Tivoli
Novell IDM
Oracle (Sun) IDM
Others (please specify)

Comments:

View previous poll results

Articles / Forum - How to ignore the password policy in a custom workflow for 'Administrator Change Password' functionality?

We hope you find the information below useful. This is a forum-thread. Feel free to provide your response and contribute to make this article better. Share, wiki and grow!
<< Back to all Articles

How to ignore the password policy in a custom workflow for 'Administrator Change Password' functionality? Posted by Siva
on Jun 16, 10:01 PM
Rate this article
1 of 52 of 53 of 54 of 55 of 5
  

Subscribe to updates

Hi,

We have a custom workflow which is called via SPML to provide 'Administrator Change Password' functionality in a portal.

Our password policy sets the String Quality rules and Number of Previous Passwords that Cannot be Reused. But we like to bypass the password policy when the password administrators (who have a admin role with a capability - 'Change Password Administrator'). At least, restriction ' Number of Previous Passwords that Cannot be Reused' need to be ignored (But password need to be added to the history... cannot disable adding passwords to history).

Please advice me how it could be achieved?

The workflow steps:

1. Checkout 'ChangeUserPassword' view for the user as an administrator
2. Set the new password in the view, set true to view.savePasswordHistory
3. Set password on the resources
4.Checkin the view

Thanks
Siva

Your Ad Here

How to ignore the password policy in a custom workflow for 'Administrator Change Password' functionality? Posted by Aditya M
on Jul 12, 12:08 AM
   

Hmm.. we had faced similar problem, and I believe the answer to this is: you can achieve this only if you are ready to compromise the security of the system.

Here's how you could do it, though it is not recommended:

The 'Password Policy' can be configured in the 'Default Lighthouse Account Policy' (or 'Default Identity Manager Account Policy' in recent versions of IDM). The code could be written such that the Password Policy being referred to is set to a more "lenient" password policy when an admin changes the user's password. Once the provisioning is complete, the Lighthouse Policy is re-configured back to the "stricter" policy.

Does this help?

Your Ad Here

How to ignore the password policy in a custom workflow for 'Administrator Change Password' functionality? Posted by Siva
on Jul 14, 07:05 PM
   

Thanks Aditya.

We tried in the you suggested but our requirement is about 'ignoring password history check' when admin changes the password.

1. created special password policy which does not require passwrod history in addition to our regular one.

2. Attached the special policy to the user before change the password and then after the password change , reattached the regular policy to the user.

The problem is , when we add the special policy , it wipes out all the password history in the user object as this policy does not enforce password history check. We do not want this to happen.

Please have a look at http://forums.sun.com/thread.jspa?threadID=5442254&tstart=0 

Please share any ideas to resolve this issue

Thanks

Siva

  

The views expressed in this article are solely those of its contributor(s) and are not necessarily endorsed by xpressutils.com. << Back to all Articles


Feedback

Feedback / Comments:

We value comments from XpressUtils users! We strive to make this site better for you each day, so all constructive comments are appreciated.
Please feel free to send us your feedback!
 
From: Achin Aug 30, 07:48 AM
Comment Hi, team i want to know how to add uid to LDAP groups. if any body knows please help
From: mike Aug 25, 09:08 AM
Comment Can you give an example to use this rule? What does it mean "The trick to achieve this is use the "P ...
From: ajay nalawade Jul 29, 08:43 AM
Comment i want information about how to call java from expree boolean isConnectionSuccessful=connectDB.co ...
From: Carrie Cain Jul 24, 05:22 AM
Comment Want more clients and customers? We will help them find you by putting you on the 1st page of Google ...
From: nimish Jul 20, 12:53 AM
Comment In Handy Tools, Test Regular Expressions is not working. anybody used it?
From: nimish Jul 13, 02:18 AM
Comment hi team, I have some problem related to configure openSSO. Can I ask you for this or should I go to ...
From: Anirudha Jul 13, 01:41 AM
Comment Wish you all the best...
From: hussain Jun 05, 06:59 AM
Comment Could u please provide an ebook for Sun Certified Integrator for Identity Manager 7.1
From: docsnyder May 07, 05:52 AM
Comment Hi! I have downloaded the rule tester JSP file and followed the instructions, but the following err ...
From: jagadisham Mar 21, 12:48 PM
Comment day by day it is improving...all the best!!!
View all comments >>

Submit a comment:

Name: required
E-mail: required
Comments: required
Submit Comments
Tip: If you have a question related to programming in Xpress or some functionality in IDM, please post it as a new article in the Articles section.

It's quick, easy and does not require you to sign-up too!
 
    Home | Terms of use | Contact us | Help    
  Copyright © 2008-2009 XpressUtils.com. All rights reserved.