public abstract class TokenContainer extends Object
| Constructor and Description |
|---|
TokenContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanExpiredTokens() |
void |
cleanLegacyTokens()
Removes all tokens in preGateIn-3.5.1 format, i.e.
|
protected abstract TokenEntry |
createToken() |
org.exoplatform.web.security.GateInToken |
getToken(String tokenId) |
abstract Map<String,TokenEntry> |
getTokens() |
void |
removeAll() |
org.exoplatform.web.security.GateInToken |
removeToken(String tokenId) |
void |
saveToken(org.chromattic.api.ChromatticSession session,
String id,
String hashedToken,
org.gatein.wci.security.Credentials credentials,
Date expirationTime) |
int |
size() |
protected abstract TokenEntry createToken()
public abstract Map<String,TokenEntry> getTokens()
public org.exoplatform.web.security.GateInToken getToken(String tokenId)
public org.exoplatform.web.security.GateInToken removeToken(String tokenId)
public void saveToken(org.chromattic.api.ChromatticSession session,
String id,
String hashedToken,
org.gatein.wci.security.Credentials credentials,
Date expirationTime)
throws org.exoplatform.web.security.security.TokenExistsException
org.exoplatform.web.security.security.TokenExistsExceptionpublic void cleanExpiredTokens()
public void cleanLegacyTokens()
"rememberme".public int size()
public void removeAll()
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.