How to configure "Federation of user registries" in WAS Liberty for CLM 6.0.1
We would like to use IBM LDAP and basic file user registry together to allow login from both LDAP and Non LDAP users of a CLM 6.0.1 instance, which was setup using IBM WebSphere Application Server(WAS) - Liberty server. Knowledge center covers this topic only in the context of WAS but not covers about Liberty.
Reference :
https://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.wlp.nd.doc/ae/cwlp_repository_federation.html
So here are few questions :
1) In server.xml of Liberty, can we use both of below user registries ?
<include location="conf/ldapUserRegistry.xml"/>
<include location="conf/basicUserRegistry.xml/>
So here basic registry federated with LDAP.
-bash-4.1$ ./productInfo version
Product name: WebSphere Application Server
Product version: 8.5.5.7
Product edition: LIBERTY_CORE
-bash-4.1$ pwd
/home/jazz/6.0.1/<install_path>/server/liberty/wlp/bin
-bash-4.1$
2) Is this a supported configuration for CLM 6.0.1.x?
Accepted answer
Comments
Hi Shubjit,
Thank you for the suggestions.
It seems to be failing with below error message :
Invalid path to authentication servlet.: /j_security_check
1) we already setup the new JTS+CLM
2) It was configured with Base User Registry first and completed JTS setup
3) Changed to LDAP user registry from Basic now
4) Shutdown the server
6) Enabled both Basic and LDAP user registries by modifying server.xml
7) Modified application.xml to update the base user registry related groups
8) Started the CLM/Liberty server
9) Try to login to JTS admin page using the LDAP credentials and I see below error :
Invalid path to authentication servlet.: /j_security_check
Hi Mallikarjuna
Hi Shubjit,
Good Afternoon!
Yes, I tried to switch between LDAP and BASE already by commenting out corresponding lines in server.xml :
<include location="conf/basicUserRegistry.xml"/>
<!--include location="conf/ldapUserRegistry.xml"/-->
<include location="conf/application.xml"/>
I am able to login with either BASE or LDAP so far but not successful with both. I observed that "ldapUserRegistry.xml" was updated after the JTS setup and I was able to login too till the time I tried to uncomment the BASE user registry as well.
I can retry the whole process but not really sure what's missing in current configuration.
Please suggest.
Thank you in advance!
Hi Mallikarjuna
Might be to do with the version 6.0.1. Could be the bundled liberty config.
I tried with 2 LDAPs and BASIC user registry and it seems to work well in 6.0.2
Hi Shubjit,
Yes, it works fine in CLM 6.0.1 though bit time consuming.
Thank you for your help.
Comments
Mallikarjuna Manoj Kandala
Sep 20 '16, 3:14 a.m.Some information from my original post is not visible so reposting here:
So here are few questions :
1) In server.xml of Liberty, can we use both of below user registries ?
<include location="conf/ldapUserRegistry.xml"/>
<include location="conf/basicUserRegistry.xml/>
So here basic registry federated with LDAP.
-bash-4.1$ ./productInfo version
Product name: WebSphere Application Server
Product version: 8.5.5.7
Product edition: LIBERTY_CORE
-bash-4.1$ pwd
/home/jazz/6.0.1/<install_path>/server/liberty/wlp/bin
-bash-4.1$
2) Is this a supported configuration for CLM 6.0.1.x?