mirror of
https://gitee.com/fujieid/jap.git
synced 2024-11-29 18:17:34 +08:00
✅ test:
This commit is contained in:
parent
5ead03481f
commit
8537ff25ff
@ -38,32 +38,32 @@ public class LdapDefaultTemplateTest {
|
||||
LdapTemplate ldapTemplate = new LdapDefaultTemplate(dataSource);
|
||||
// 测试通过
|
||||
// clear
|
||||
System.out.println(ldapTemplate.login("100012", "123456"));
|
||||
// md5
|
||||
System.out.println(ldapTemplate.login("100000", "123456"));
|
||||
// md5
|
||||
System.out.println(ldapTemplate.login("100001", "123456"));
|
||||
// sha
|
||||
System.out.println(ldapTemplate.login("100002", "123456"));
|
||||
// ssha
|
||||
System.out.println(ldapTemplate.login("100006", "123456"));
|
||||
// sha512
|
||||
System.out.println(ldapTemplate.login("100003", "123456"));
|
||||
// k5key
|
||||
System.out.println(ldapTemplate.login("100009", "123456"));
|
||||
// md5crypt
|
||||
System.out.println(ldapTemplate.login("100008", "123456"));
|
||||
// sha256crypt
|
||||
// sha512
|
||||
System.out.println(ldapTemplate.login("100004", "123456"));
|
||||
// sha512crypt
|
||||
// k5key
|
||||
System.out.println(ldapTemplate.login("100005", "123456"));
|
||||
// md5crypt
|
||||
System.out.println(ldapTemplate.login("100006", "123456"));
|
||||
// sha256crypt
|
||||
System.out.println(ldapTemplate.login("100007", "123456"));
|
||||
// sha512crypt
|
||||
System.out.println(ldapTemplate.login("100008", "123456"));
|
||||
|
||||
|
||||
// 暂未测试通过
|
||||
// ext_des
|
||||
System.out.println(ldapTemplate.login("100010", "123456"));
|
||||
System.out.println(ldapTemplate.login("100009", "123456"));
|
||||
// smd5
|
||||
System.out.println(ldapTemplate.login("100007", "123456"));
|
||||
System.out.println(ldapTemplate.login("100010", "123456"));
|
||||
// crypt
|
||||
System.out.println(ldapTemplate.login("100001", "123456"));
|
||||
System.out.println(ldapTemplate.login("100011", "123456"));
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user