PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.sts.registry
Class RevokedToken

java.lang.Object
  extended by org.picketlink.identity.federation.core.sts.registry.RevokedToken

@Entity
public class RevokedToken
extends Object

RevokedToken is a simple JPA entity used by the JPABasedRevocationRegistry to persist the ids of the revoked security tokens.

Author:
Stefan Guilhen

Constructor Summary
RevokedToken()
           Default constructor.
RevokedToken(String tokenType, String tokenId)
           Creates an instance of RevokedToken with the specified token type and token id.
 
Method Summary
 String getTokenId()
           Obtains the id of the revoked security token.
 String getTokenType()
           Obtains the type of the revoked security token.
 void setTokenId(String tokenId)
           Sets the id of the revoked security token.
 void setTokenType(String tokenType)
           Sets the type of revoked security token.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevokedToken

public RevokedToken()

Default constructor.


RevokedToken

public RevokedToken(String tokenType,
                    String tokenId)

Creates an instance of RevokedToken with the specified token type and token id.

Parameters:
tokenType - a String representing the token type.
tokenId - a String representing the token id.
Method Detail

getTokenType

public String getTokenType()

Obtains the type of the revoked security token.

Returns:
a String containing the revoked token type.

setTokenType

public void setTokenType(String tokenType)

Sets the type of revoked security token.

Parameters:
tokenType - a String containing the type to be set.

getTokenId

public String getTokenId()

Obtains the id of the revoked security token.

Returns:
a String containing the revoked token id.

setTokenId

public void setTokenId(String tokenId)

Sets the id of the revoked security token.

Parameters:
tokenId - a String containing the id to be set.

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.