Changing user IDs in 4.0.1
![]()
So we can now change user IDs! Excellent. Unfortunately, I am having a problem doing so. I followed the following instructions found elsewhere here:
1. Go to the jts admin page: https://[OURSERVER]:9443/jts/admin 2. Click "Server" on the top menu, then "Advanced Properties" on the left menu. 3. Change "Ability to Modify User IDs" from false to true (if it wasn't already). 4. Change "User Registry Type" from DETECT to UNSUPPORTED. 5. Click "Save" in the upper right. 6. Load the user profile and edit the ID. Save. 7. Change "User Registry Type" from UNSUPPORTED back to DETECT. 8. Click "Save" in the upper right. What happens is the new user ID does not work. The old user ID works to login but then gets the error: Error! You are not authorized to view this page. ForbiddenWe do not use LDAP, if that matters. User IDs are created in RTC. |
Accepted answer
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Mar 25 '13, 3:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Mar 25 '13, 3:07 a.m.
I just did the following and it worked for me.
CLM 4.0.1, Windows, Tomcat, Derby test system.
Mike Shkolnik selected this answer as the correct answer
Comments I updated my blog post.
This did the trick. The missing step was restarting the server. :) Unfortunately any time we have to restart the server we have to get involved with change control and approvals, so we will likely continue our old process of creating a new ID and changing the name of the old account to include "(BAD ID)". Now to learn how to purge accounts with bad IDs...
Mike, changing user ID's should be a rare thing. Typically one time only, because of a typo or because of changing the registry. If this is common in your case, I would be interested what could cause this. I would consider reviewing my processes. Or consider to use a free LDAP system such as Apache Directory Studio.
|
One other answer
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Mar 22 '13, 12:56 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Mike, I have done that with 4.0 and it works with Tomcat. See https://rsjazz.wordpress.com/2012/10/12/changing-the-jazz-user-id-using-the-rtc-plain-java-client-libraries/
Are the ID's in Tomcat changed in the tomcat-users.xml.
If you use WAS you would have to use the user ID's in WAS manually since they can't be written by the JTS.
Comments Tomcat.
I tried updating the tomcat-users.xml file as you suggested (in addition to the above instructions in the OP), but that did not change anything. Still only the old ID worked and still got the same error.
|