Skip to content

Commit

Permalink
fix: Update Password Encoder Algorithm - Meeds-io/MIPs#69
Browse files Browse the repository at this point in the history
Remove the unused class DigestAuthenticationTomcatLoginModule
Update DefaultLoginModule to remove password from memory storage as privateCredential. It is not used, and we not need it
  • Loading branch information
rdenarie committed Sep 11, 2023
1 parent c56048b commit b5a441d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 254 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ public boolean login() throws LoginException
username = authenticator.validateUser(credentials);
identity = authenticator.createIdentity(username);
sharedState.put("javax.security.auth.login.name", username);

subject.getPrivateCredentials().add(password);
subject.getPublicCredentials().add(new UsernameCredential(username));
}
return true;
Expand Down

0 comments on commit b5a441d

Please sign in to comment.