Skip to content

Commit

Permalink
Merge pull request #2923 from madushadhanushka/auth_basic
Browse files Browse the repository at this point in the history
Fix password split issue that have colon
  • Loading branch information
madushadhanushka authored Jul 11, 2023
2 parents 59ba871 + 56a5721 commit 087dc02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public Map getProperties() {
public boolean processSecurity(String credentials) {
String decodedCredentials = new String(new Base64().decode(credentials.getBytes()));
String username = decodedCredentials.split(":")[0];
String password = decodedCredentials.split(":")[1];
String password = decodedCredentials.split(":",2)[1];
UserStoreManager userStoreManager;
try {
userStoreManager = MicroIntegratorSecurityUtils.getUserStoreManager();
Expand Down

0 comments on commit 087dc02

Please sign in to comment.