Skip to content

Commit

Permalink
backward compatibility fix for obtaining master password from intelli…
Browse files Browse the repository at this point in the history
…j PasswordSafe (MidPointSettings->MidPointConfiguration refactor broke it)
  • Loading branch information
1azyman committed Feb 12, 2024
1 parent b31b7ec commit 67bbeeb
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -255,8 +255,10 @@ public static void setPassword(String key, String password) {
}

private static CredentialAttributes createCredentialAttributes(String key) {
// previously was "MidPointSettings" (simple class name for MidPointConfiguration)
// we left it as is, because we don't want to change the key that is used to search keychain for existing credentials
return new CredentialAttributes(CredentialAttributesKt
.generateServiceName(MidPointConfiguration.class.getSimpleName(), key));
.generateServiceName("MidPointSettings", key));
}

public static void publishException(Project project, Environment env, Class clazz, String notificationKey, String msg, Exception ex) {
Expand Down

0 comments on commit 67bbeeb

Please sign in to comment.