public class ShiroIdentity extends AuthIdentity
| 构造器和说明 |
|---|
ShiroIdentity() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
active(boolean create) |
void |
clear() |
Object |
getAttribute(String name) |
ShiroToken |
getToken() |
boolean |
isLogin() |
void |
setAttribute(String name,
Object value) |
void |
setTimeout(int timeout) |
void |
setToken(AuthToken<?> token) |
getFrequency, getId, getTimepublic boolean isLogin()
isLogin 在类中 AuthIdentitypublic void active(boolean create)
active 在类中 AuthIdentitypublic void setTimeout(int timeout)
setTimeout 在类中 AuthIdentitypublic ShiroToken getToken()
getToken 在类中 AuthIdentitypublic void setToken(AuthToken<?> token)
setToken 在类中 AuthIdentitypublic Object getAttribute(String name)
getAttribute 在类中 AuthIdentitypublic void setAttribute(String name, Object value)
setAttribute 在类中 AuthIdentitypublic void clear()
clear 在类中 AuthIdentityCopyright © 2024. All rights reserved.