Class JPAAccessToken
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractProvidedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.JPAAccessToken
-
- All Implemented Interfaces:
Serializable
,AccessToken
,Entity
,ProvidedKeyEntity
@Entity public class JPAAccessToken extends AbstractProvidedKeyEntity implements AccessToken
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPAAccessToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getAuthorities()
String
getBody()
OffsetDateTime
getExpirationTime()
String
getOwner()
void
setAuthorities(byte[] authorities)
void
setBody(String body)
void
setExpirationTime(OffsetDateTime expirationTime)
void
setOwner(String owner)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractProvidedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.ProvidedKeyEntity
setKey
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBody
public String getBody()
- Specified by:
getBody
in interfaceAccessToken
-
setBody
public void setBody(String body)
- Specified by:
setBody
in interfaceAccessToken
-
getExpirationTime
public OffsetDateTime getExpirationTime()
- Specified by:
getExpirationTime
in interfaceAccessToken
-
setExpirationTime
public void setExpirationTime(OffsetDateTime expirationTime)
- Specified by:
setExpirationTime
in interfaceAccessToken
-
getOwner
public String getOwner()
- Specified by:
getOwner
in interfaceAccessToken
-
setOwner
public void setOwner(String owner)
- Specified by:
setOwner
in interfaceAccessToken
-
getAuthorities
public byte[] getAuthorities()
- Specified by:
getAuthorities
in interfaceAccessToken
-
setAuthorities
public void setAuthorities(byte[] authorities)
- Specified by:
setAuthorities
in interfaceAccessToken
-
-