in shardingsphere-elasticjob-cloud-ui/shardingsphere-elasticjob-cloud-ui-backend/src/main/java/org/apache/shardingsphere/elasticjob/cloud/ui/security/UserAuthenticationService.java [61:69]
public AuthenticationResult checkUser(final UserAccount userAccount) {
if (null == userAccount || Strings.isNullOrEmpty(userAccount.getUsername()) || Strings.isNullOrEmpty(userAccount.getPassword())) {
return new AuthenticationResult(null, null, false);
}
if (username.equals(userAccount.getUsername()) && password.equals(userAccount.getPassword())) {
return new AuthenticationResult(username, password, true);
}
return new AuthenticationResult(null, null, false);
}