Browse Source

fix security issue (#15192)

3.2.1-prepare
xiangzihao 1 year ago committed by GitHub
parent
commit
7308888c70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/security/impl/AbstractAuthenticator.java

2
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/security/impl/AbstractAuthenticator.java

@ -95,7 +95,7 @@ public abstract class AbstractAuthenticator implements Authenticator {
return result; return result;
} }
log.info("Session is created and sessionId is :{}.", sessionId); log.info("Session is created, userName:{}.", user.getUserName());
Map<String, String> data = new HashMap<>(); Map<String, String> data = new HashMap<>();
data.put(Constants.SESSION_ID, sessionId); data.put(Constants.SESSION_ID, sessionId);

Loading…
Cancel
Save