public class PolicyAccount extends BasePolicyAccount<PolicyAccount>
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
SESS_KEY_STATE |
static String |
SESS_KEY_UUID |
COLUMN_CREATED, COLUMN_DOMAIN, COLUMN_MODIFIED, COLUMN_REMOVED, COLUMN_SORT, COLUMN_USED| 构造器和说明 |
|---|
PolicyAccount() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
chkAuth(User user)
检查指定用户是否已经完成全部身份认证
|
boolean |
chkEmailAuth(User user)
检查指定用户是否已经完成Email认证
|
boolean |
chkPhoneAuth(User user)
检查指定用户是否已经完成手机号认证
|
boolean |
emailAble()
是否已开启Email验证码登录
|
boolean |
emailAuth()
返回该策略是否强制要求进行Email认证
|
boolean |
emailVali()
返回该策略是否允许进行Email认证
|
String |
getAppUrl() |
boolean |
getSessionState()
返回Session键值:登录状态
|
static boolean |
getSessionState(String prefix)
返回Session键值:登录状态
|
String |
getSessionStateKey()
返回Session键名:登录状态
|
static String |
getSessionStateKey(String prefix)
返回Session键名:登录状态
|
String |
getSessionUid()
返回Session键值:登录用户ID
|
static String |
getSessionUid(String prefix)
返回Session键值:登录用户ID
|
String |
getSessionUidKey()
返回Session键名:登录用户ID
|
static String |
getSessionUidKey(String prefix)
返回Session键名:登录用户ID
|
String |
getSigninUrl() |
boolean |
hasIden(String idenName)
返回该策略是否可以使用指定的登录标识
|
boolean |
inputReq(String attrName)
返回该策略是否要求录入指定基本信息
|
boolean |
phoneAble()
是否已开启短信验证码登录
|
boolean |
phoneAuth()
返回该策略是否强制要求进行手机号认证
|
boolean |
phoneVali()
返回该策略是否允许进行手机号认证
|
boolean |
pwdAble()
是否已开启账号密码登录
|
boolean |
weishaoAble()
是否已开启微哨登录
|
boolean |
weixinAble()
是否已开启微信登录
|
getAppCaption, getCaption, getCdate, getCode, getDomain, getEnable, getId, getMdate, getModeDef, getModes, getModuleCode, getPwdAuto, getPwdIden, getPwdLockPolicy, getPwdValiPolicy, getRegAble, getRegAttr, getRegDept, getRegMember, getRegModule, getRegRole, getRegType, getSessPrefix, getUsed, getValis, setAppCaption, setAppUrl, setCaption, setCdate, setCode, setDomain, setEnable, setId, setMdate, setModeDef, setModes, setModuleCode, setPwdAuto, setPwdIden, setPwdLockPolicy, setPwdValiPolicy, setRegAble, setRegAttr, setRegDept, setRegMember, setRegModule, setRegRole, setRegType, setSessPrefix, setSigninUrl, setUsed, setValis_getAttrs, _getConfig, _getTable, _getTableName, $comp, $domain, $logined, $uid, $user, $UUID, able, copy, decrypt, decryptAll, deleteById, disable, enable, find, find, findByCode, findByIda, findByIds, findFirst, findFirst, getPk, getPks, getPkType, hasColumn, paginate, paginate, required, save, saveOrUpdate, select, select, select, select, select, selectCol, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, update_getAttrNames, _getAttrsEntrySet, _getAttrValues, _getModifyFlag, _getUsefulClass, _setAttrs, _setAttrs, _setOrPut, _setOrPut, clear, dao, delete, deleteByIds, equals, filter, find, find, findAll, findByCache, findByCache, findById, findByIdLoadColumns, findByIdLoadColumns, findByIds, findFirst, findFirstByCache, findFirstByCache, get, get, getBigDecimal, getBigInteger, getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getNumber, getShort, getSql, getSqlPara, getSqlPara, getSqlPara, getStr, getTime, getTimestamp, hashCode, keep, keep, paginate, paginate, paginate, paginate, paginateByCache, paginateByCache, paginateByCache, paginateByFullSql, paginateByFullSql, put, put, put, put, remove, remove, removeNullValueAttrs, set, setOrPut, toJson, toRecord, toString, usepublic String getAppUrl()
getAppUrl 在类中 BasePolicyAccount<PolicyAccount>public String getSigninUrl()
getSigninUrl 在类中 BasePolicyAccount<PolicyAccount>public String getSessionStateKey()
返回Session键名:登录状态
public boolean getSessionState()
返回Session键值:登录状态
public static boolean getSessionState(String prefix)
返回Session键值:登录状态
public String getSessionUidKey()
返回Session键名:登录用户ID
public String getSessionUid()
返回Session键值:登录用户ID
public boolean pwdAble()
是否已开启账号密码登录
public boolean emailAble()
是否已开启Email验证码登录
public boolean phoneAble()
是否已开启短信验证码登录
public boolean weixinAble()
是否已开启微信登录
public boolean weishaoAble()
是否已开启微哨登录
public boolean inputReq(String attrName)
public boolean hasIden(String idenName)
public boolean emailAuth()
public boolean phoneAuth()
public boolean emailVali()
public boolean phoneVali()
public boolean chkEmailAuth(User user)
user - public boolean chkPhoneAuth(User user)
user - public boolean chkAuth(User user)
user - Copyright © 2023. All rights reserved.