Problem Authenticating to DNG Repository
Hi, I've got a Jazz Java API issue connecting to a DNG Repository on 6.0.6 which works on another DNG 6.0.6 repository of mine. My team has access to the server and its configurations. Is there a place I ought to look in order to better debug this issue?
at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:627)
...
|
2 answers
OK. Be sure to check that the user has been assigned the same credentials on both instances of DNG (same login/PW/token/whatever). Merely having the JAZZ_ADMIN role won't guarantee authentication.
Make sure the user also has the same permissions in the DNG projects on both machines. This can be tricky depending on the roles and project customizations that maybe have been done to the different projects. The same role in 2 different projects could possibly have different permissions.
Given that the same code works on the same version of the app on a different machine, your problem is probably not the code. You should also look at the API you're using and consider if that particular call requires permission that the user doesn't have on the instance that's failing.
- Jim
Comments
Mallikarjuna Manoj Kandala
commented Oct 09 '18, 8:34 a.m.
Hi Jim,
Thank you for responding and trying to help.
In this case, we have multiple instances/repositories. we are not able to create the project area yet in one of the instances/repositories, so we could not compare the roles with the project area in other repositories where it is working fine.
I have observed an SSO issue in the same instance. While checking the configuration, I have found that the server.xml has entry which is pointed to basic user registry instead of LDAP user registry. So I have just updated the server.xml file, to point to LDAP user registry. I think this might have happened after 6.0.6 upgrade somehow.
Surprisingly, even though the configuration pointed to basic user registry, it still allowed web UI so I never really checked server.xml in past. It seems to be working fine now after the restart.
Thanks again.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.