public class UserLoginServiceImpl extends EModelService<User> implements UserLoginService
dao| 构造器和说明 |
|---|
UserLoginServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cleanUserXss(User user)
清理User中的非法脚本
|
UserLockedInfo |
getLockInfo(User inp)
返回当前输入条件的锁定信息
|
User |
pwdLogin(User inp,
String loginPass,
String policyAccCode)
使用密码登录校验
|
Result |
pwdVali(String loginPass,
String policyPwdCode)
强密码校验
|
void |
removeLockList(String uid)
移除锁定清单
|
User |
ssoLogin(String token)
使用Token单点登录
|
String |
ssoRouter(String userId)
生成指定用户的单点登录入口地址,每次调用都会生成一个新的Token,有效期30分钟
|
String |
tokenDecode(String code)
解密TOKEN串
|
String |
tokenDecode(String code,
String key)
解密TOKEN串
|
String |
tokenEncode(String data)
加密TOKEN串
|
String |
tokenEncode(String data,
String key)
加密TOKEN串
|
able, batchSave, batchUpdate, dbo, deleteByCodes, deleteById, deleteByIda, deleteByIds, disable, disable, disableByIda, disableByIds, enable, enable, enableByIda, enableByIds, findByCode, findByCodea, findByCodes, findByDomain, findByDomainSingle, findById, findByIda, findByIds, getConfigName, paginate, paginate, removeRepeat, save, saveOrUpdate, select, select, select, select, select, select, select, select, selectAll, selectAll, selectAllBy, selectAllBy, selectCol, selectCol, selectCol, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, update$comp, $domain, $logined, $uid, $user, $UUID, append, append, join, parseModel, parseRecordspublic User pwdLogin(User inp, String loginPass, String policyAccCode)
UserLoginServicepwdLogin 在接口中 UserLoginServiceinp - 可通过以下属性作为登录名:loginName、idNum、phone、emailloginPass - 密码policyAccCode - 账号方案代码public UserLockedInfo getLockInfo(User inp)
UserLoginServicegetLockInfo 在接口中 UserLoginServicepublic void cleanUserXss(User user)
UserLoginServicecleanUserXss 在接口中 UserLoginServicepublic void removeLockList(String uid)
UserLoginServiceremoveLockList 在接口中 UserLoginServicepublic Result pwdVali(String loginPass, String policyPwdCode)
UserLoginServicepwdVali 在接口中 UserLoginServiceloginPass - 密码串policyPwdCode - 密码策略代码,为空时将使用默认策略public String ssoRouter(String userId)
UserLoginServicessoRouter 在接口中 UserLoginServiceuserId - 用户ID,该ID应从用户集成表(oauth)中通过已绑定的第三方账号获取public User ssoLogin(String token)
UserLoginServicessoLogin 在接口中 UserLoginServicetoken - 含有用户ID和时间戳的加密字符串public String tokenEncode(String data)
UserLoginServicetokenEncode 在接口中 UserLoginServicedata - 待生成TOKEN的数据public String tokenEncode(String data, String key)
UserLoginServicetokenEncode 在接口中 UserLoginServicedata - 待生成TOKEN的数据key - 密钥public String tokenDecode(String code)
UserLoginServicetokenDecode 在接口中 UserLoginServicecode - 待解密的TOKEN数据public String tokenDecode(String code, String key)
UserLoginServicetokenDecode 在接口中 UserLoginServicecode - 待解密的TOKEN数据key - 密钥Copyright © 2023. All rights reserved.