Uses of Class
org.silverpeas.core.security.token.persistent.PersistentResourceToken
-
Packages that use PersistentResourceToken Package Description org.silverpeas.core.security.token.persistent Provides a type of tokens that are persisted in a data source and that are mapped with a resource managed in Silverpeas.org.silverpeas.core.security.token.persistent.repository Provides a repository to access the tokens in a data source.org.silverpeas.core.security.token.persistent.service Provides a service around the persistent tokens to easily generate and get them. -
-
Uses of PersistentResourceToken in org.silverpeas.core.security.token.persistent
Fields in org.silverpeas.core.security.token.persistent declared as PersistentResourceToken Modifier and Type Field Description static PersistentResourceToken
PersistentResourceToken. NoneToken
Represents none token to replace in more typing way the null keyword.Methods in org.silverpeas.core.security.token.persistent that return PersistentResourceToken Modifier and Type Method Description static PersistentResourceToken
PersistentResourceToken. createToken(EntityReference resource)
Creates a token for the specified resource.PersistentResourceToken
PersistentResourceTokenGenerator. generate(TokenGenerationParameter... parameters)
static PersistentResourceToken
PersistentResourceToken. getOrCreateToken(EntityReference resource)
Gets a token for the specified resource and creates it if it doesn't exist.static PersistentResourceToken
PersistentResourceToken. getToken(String token)
Gets a the token from the specified value. -
Uses of PersistentResourceToken in org.silverpeas.core.security.token.persistent.repository
Methods in org.silverpeas.core.security.token.persistent.repository that return PersistentResourceToken Modifier and Type Method Description PersistentResourceToken
PersistentResourceTokenJPARepository. getByToken(String token)
PersistentResourceToken
PersistentResourceTokenRepository. getByToken(String token)
PersistentResourceToken
PersistentResourceTokenJPARepository. getByTypeAndResourceId(String type, String resourceId)
PersistentResourceToken
PersistentResourceTokenRepository. getByTypeAndResourceId(String type, String resourceId)
-
Uses of PersistentResourceToken in org.silverpeas.core.security.token.persistent.service
Methods in org.silverpeas.core.security.token.persistent.service that return PersistentResourceToken Modifier and Type Method Description PersistentResourceToken
DefaultTokenService. get(String token)
PersistentResourceToken
DefaultTokenService. get(EntityReference resource)
PersistentResourceToken
PersistentResourceTokenService. get(String token)
Gets the token with the specified value from the data source.PersistentResourceToken
PersistentResourceTokenService. get(EntityReference resource)
Gets the token of the resource referred by the specifiedEntityReference
.PersistentResourceToken
DefaultTokenService. initialize(EntityReference resource)
PersistentResourceToken
PersistentResourceTokenService. initialize(EntityReference resource)
Initializes the token of the resource referred by the specifiedEntityReference
.
-