Skip to content

Commit

Permalink
Fixing non-TCIA issue with ldap sync
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwhorton committed Sep 3, 2024
1 parent 6f6ca81 commit 022a456
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ private boolean loggedIn(String userId, String password) {

if (mgr.login(userId, password)) {
System.out.println("!!! download servletv4 logged in");
mgr.syncDBWithLDAP(userId);
if (NCIAConfig.getProductVariation().toUpperCase().equals("TCIA")) {
mgr.syncDBWithLDAP(userId);
System.out.println("Sync performed");
}
// if (!("keycloak".equalsIgnoreCase(NCIAConfig.getAuthenticationConfig())) && NCIAConfig.getProductVariation().toUpperCase().equals("TCIA")) {
// mgr.syncDBWithLDAP(userId);
// }
Expand Down

0 comments on commit 022a456

Please sign in to comment.