Commit 61309628 authored by suntao's avatar suntao

ldap

parent d9b61d2b
...@@ -96,7 +96,7 @@ public class LoginServiceImpl implements LoginService { ...@@ -96,7 +96,7 @@ public class LoginServiceImpl implements LoginService {
// } // }
LDAPAuthentication ldapAuthentication = new LDAPAuthentication(); LDAPAuthentication ldapAuthentication = new LDAPAuthentication();
boolean b = ldapAuthentication.authenricate(username + "@quantgroup.cn", password); boolean b = ldapAuthentication.authenricate(username, password);
if (b) { if (b) {
LoginUser data = new LoginUser(); LoginUser data = new LoginUser();
Role role = roleRepository.getByName("量化派操作员"); Role role = roleRepository.getByName("量化派操作员");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment