public class JCRGateInTokenStorage extends Object implements org.exoplatform.web.security.GateInTokenStore
| Constructor and Description |
|---|
JCRGateInTokenStorage(org.exoplatform.container.xml.InitParams initParams,
ChromatticManager chromatticManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanExpired() |
void |
cleanLegacy() |
void |
deleteAll() |
void |
deleteToken(String tokenId) |
void |
deleteTokenOfUser(String user) |
List<org.exoplatform.web.security.GateInTokenStore.TokenData> |
getAll(long offset,
long limit) |
org.exoplatform.web.security.GateInTokenStore.TokenData |
getToken(String tokenId) |
void |
saveToken(org.exoplatform.web.security.GateInTokenStore.TokenData data) |
long |
size() |
public JCRGateInTokenStorage(org.exoplatform.container.xml.InitParams initParams,
ChromatticManager chromatticManager)
public void cleanLegacy()
cleanLegacy in interface org.exoplatform.web.security.GateInTokenStorepublic void saveToken(org.exoplatform.web.security.GateInTokenStore.TokenData data)
throws org.exoplatform.web.security.security.TokenExistsException
saveToken in interface org.exoplatform.web.security.GateInTokenStoreorg.exoplatform.web.security.security.TokenExistsExceptionpublic org.exoplatform.web.security.GateInTokenStore.TokenData getToken(String tokenId)
getToken in interface org.exoplatform.web.security.GateInTokenStorepublic void deleteToken(String tokenId)
deleteToken in interface org.exoplatform.web.security.GateInTokenStorepublic void deleteTokenOfUser(String user)
deleteTokenOfUser in interface org.exoplatform.web.security.GateInTokenStorepublic void deleteAll()
deleteAll in interface org.exoplatform.web.security.GateInTokenStorepublic void cleanExpired()
cleanExpired in interface org.exoplatform.web.security.GateInTokenStorepublic long size()
size in interface org.exoplatform.web.security.GateInTokenStorepublic List<org.exoplatform.web.security.GateInTokenStore.TokenData> getAll(long offset, long limit)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.