Package org.apache.syncope.core.logic
Class AccessTokenLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<AccessTokenTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<AccessTokenTO>
org.apache.syncope.core.logic.AccessTokenLogic
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AccessTokenDAO
protected final AccessTokenDataBinder
protected static final Encryptor
protected final SecurityProperties
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionAccessTokenLogic
(SecurityProperties securityProperties, AccessTokenDataBinder binder, AccessTokenDAO accessTokenDAO) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected static byte[]
org.springframework.data.domain.Page
<AccessTokenTO> list
(org.springframework.data.domain.Pageable pageable) login()
void
logout()
refresh()
protected AccessTokenTO
resolveReference
(Method method, Object... args) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
ENCRYPTOR
-
securityProperties
-
binder
-
accessTokenDAO
-
-
Constructor Details
-
AccessTokenLogic
public AccessTokenLogic(SecurityProperties securityProperties, AccessTokenDataBinder binder, AccessTokenDAO accessTokenDAO)
-
-
Method Details
-
getAuthorities
protected static byte[] getAuthorities() -
login
-
refresh
-
logout
-
list
@PreAuthorize("hasRole(\'ACCESS_TOKEN_LIST\')") public org.springframework.data.domain.Page<AccessTokenTO> list(org.springframework.data.domain.Pageable pageable) -
delete
-
resolveReference
protected AccessTokenTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReference
in classAbstractLogic<AccessTokenTO>
- Throws:
UnresolvedReferenceException
-