public abstract class AbstractTokenService<E extends Token,D extends AbstractTokenDao<E>> extends PermissionAwareCrudService<E,D>
permissionCollectionServicedao, logger| Modifier | Constructor and Description |
|---|---|
|
AbstractTokenService()
Default constructor, which calls the type-constructor
|
protected |
AbstractTokenService(Class<E> entityClass)
Constructor that sets the concrete entity class for the service.
|
| Modifier and Type | Method and Description |
|---|---|
E |
findByTokenValue(String token) |
void |
validateToken(E token)
If the passed token is null or expired, this method will throw an
Exception. |
addAndSaveGroupPermissions, addAndSaveUserPermissions, findAllUserGroupPermissionsOfUserGroup, findAllUserPermissionsOfUser, getPermissionCollectionService, removeAndSaveGroupPermissions, removeAndSaveUserPermissions, setDao, setPermissionCollectionServicedelete, findAll, findAllRestricted, findAllWhereFieldEquals, findAllWithCollectionContaining, findById, findBySimpleFilter, loadById, saveOrUpdate, updatePartialWithJsonNodegetDao, getEntityClassCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.