|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.core.sts.registry.SecurityToken
@Entity public class SecurityToken
SecurityToken
is a simple JPA entity used by the JPABasedTokenRegistry
to persist tokens.
Constructor Summary | |
---|---|
SecurityToken()
Default constructor. |
|
SecurityToken(String tokenId,
Object token)
|
Method Summary | |
---|---|
byte[] |
getToken()
Gets the byte array representation of the token object. |
Date |
getTokenCreationDate()
Gets the Date which this token was created. |
String |
getTokenId()
Obtains the id of the revoked security token. |
void |
setToken(byte[] token)
Sets the byte array representation of the token object. |
void |
setTokenCreationDate(Date tokenCreationDate)
Sets the Date which this token was created. |
void |
setTokenId(String tokenId)
Sets the id of the revoked security token. |
Object |
unmarshalToken()
Unmarshall the token byte array to a AssertionType instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityToken()
Default constructor.
public SecurityToken(String tokenId, Object token)
Method Detail |
---|
public String getTokenId()
Obtains the id of the revoked security token.
String
containing the revoked token id.public void setTokenId(String tokenId)
Sets the id of the revoked security token.
tokenId
- a String
containing the id to be set.public Date getTokenCreationDate()
Gets the Date
which this token was created.
public void setTokenCreationDate(Date tokenCreationDate)
Sets the Date
which this token was created.
tokenCreationDate
- public void setToken(byte[] token)
Sets the byte array representation of the token object.
token
- public byte[] getToken()
Gets the byte array representation of the token object.
public Object unmarshalToken()
Unmarshall the token
byte array to a AssertionType
instance.
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |