Repository group memberships not recognized after migration to JAS (Jazz Authorisation Server)
After migrating JTS to use JAS with help of repotool, I'm able to login to JTS, but I'm only recognized as guest and I'm not member of any repository group when login through JAS with an LDAP account.
Any idea what could be wrong? I'm using the same LDAP setup than before the migration. A local file based registry is working. Local users defined and added to the local groups are working.
The LDAP setup in JAS is working. I can run the test on the /oidc/endpoint/jazzop/registration URL.
Also members are recognized in LDAP groups for the oauth-roles to manage application registrations within /jts/setup.
The Liberty AdminCenter for JAS is also able to work with the LDAP groups defined in the <administrator-role> section.
The Issue is that all CLM applications are NOT recognizing the repository groups through JAS.
The setting in appConfig.xml, <application> section, is just "ignored". As well as the settings in the application.xml of the CLM applications, which was working before with direct LDAP.
How does JTS recognize the group membership through JAS? What can I do to troubleshoot?
Any Idea or configuration example? I read many documents and help pages but I do not have an idea anymore.
regards
Guido
One answer
If the LDAP settings in JAS earlier failed, you can check the LDAP parameters via the following article:
Once configured, you can check by accessing the JAS registration URL to confirm LDAP is configured right:
https://<JAS_host_name> :< ssl_port> /oidc/endpoint/jazzop/registration
Comments
Hello Shubjit,
thank for the answer. The idea is not bad, but it is not working. I already tried.
DETECT cannot be set if JAS is enabled.
I tried with UNSUPPORTED (the one which makes most sense), LDAP and also LIBERTY (makes not much sense).The user registry is used for authentication and importing users. Valid types are LDAP, LDAP-RACF, LIBERTY, TOMCAT, DETECT, and UNSUPPORTED.
In Jazz Security Architecture single sign-on mode, only LDAP, LDAP-RACF and UNSUPPORTED are allowed
CRJAZ2911E Invalid user registry type. In Jazz Security Architecture single sign-on mode, only LDAP and UNSUPPORTED are allowed
The /registration works well.
I made some more investigations. And will update my question with the current status.
regards
Guido
HI Guido
Hello Shubjit,
Yes. UNSUPPORTED makes sense. I tried that without success. (see my updated Question text).
LDAP setup must be ok, because it works within JAS for the <oauth-roles>.
But the whole <application> section in appConfig.xml of JAS seems to be ignored.
Must be something done in application.xml of JTS? At the moment I have there the same than before in LDAP configuration.
regards
Guido
Shubjit, Guido is correct. Having configured CLM, JAS, and LDAP according to available IBM documentation, all three systems appear to individually properly configured. Independent queries of the JAS OIDC endpoints and of the LDAP endpoints and structures all prove to show proper values. JAS authentication works well.
HI Lonnie,
I'll give the setup a run-go with "LDAP" as the User Registry Type.