Export user and Password from LDAP to Tomcat Users.
One answer
Suggest following steps,
1. Export data from LDAP to a csv file
LDAP users can be export by most LDAP browsers. Softerra LDAP browser is a popular one.
you can select required attribute only, e.g. cn, name, mail, userPassword, memberOf, etc
2. check tomcat-users.xml format, add users, password info to it.
mail, license, groups info are optional. you can do it via file, or update later via GUI
If user not in Jazz repository yet, then process following steps as well
3. manually adjust csv file to the format Jazz accept
to get the format, a easy way is to run command like "repotools-jts.sh -exportUsers toFile=test.csv", so that you get a sample
4. import user (without password) to JTS via command repotools-jts.sh -importUsers
this will help create user in jts repository with userId, userName and mail
1. Export data from LDAP to a csv file
LDAP users can be export by most LDAP browsers. Softerra LDAP browser is a popular one.
you can select required attribute only, e.g. cn, name, mail, userPassword, memberOf, etc
2. check tomcat-users.xml format, add users, password info to it.
mail, license, groups info are optional. you can do it via file, or update later via GUI
If user not in Jazz repository yet, then process following steps as well
3. manually adjust csv file to the format Jazz accept
to get the format, a easy way is to run command like "repotools-jts.sh -exportUsers toFile=test.csv", so that you get a sample
4. import user (without password) to JTS via command repotools-jts.sh -importUsers
this will help create user in jts repository with userId, userName and mail