public class TokenProxy extends Object implements Token
Token.EventCONCRETE_TOKEN_ID_KEY| 限定符和类型 | 方法和说明 |
|---|---|
Enumeration<String> |
attributeNames() |
long |
created() |
Account |
currentAccount() |
void |
flush() |
<T> T |
getAttribute(String key)
已过时。
|
<T> T |
getAttribute(String key,
Class<T> clz) |
String |
getTokenId() |
void |
invalidate() |
boolean |
isAccountCredible() |
boolean |
isValid() |
static Token |
proxy(String tokenId) |
void |
removeAttribute(String key) |
void |
renew() |
void |
setAccount(Account account) |
void |
setAccountCredible(boolean credible) |
void |
setAttribute(String key,
Serializable attribute) |
public void invalidate()
invalidate 在接口中 Tokenpublic Account currentAccount()
currentAccount 在接口中 Tokenpublic void setAccount(Account account)
setAccount 在接口中 Tokenpublic boolean isAccountCredible()
isAccountCredible 在接口中 Tokenpublic void setAccountCredible(boolean credible)
setAccountCredible 在接口中 Tokenpublic String getTokenId()
getTokenId 在接口中 Token@Deprecated public <T> T getAttribute(String key)
getAttribute 在接口中 Tokenpublic <T> T getAttribute(String key, Class<T> clz)
getAttribute 在接口中 Tokenpublic void setAttribute(String key, Serializable attribute)
setAttribute 在接口中 Tokenpublic void removeAttribute(String key)
removeAttribute 在接口中 Tokenpublic Enumeration<String> attributeNames()
attributeNames 在接口中 TokenCopyright © 2020. All rights reserved.