PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.sts.registry
Interface SecurityTokenRegistry

All Known Implementing Classes:
DefaultTokenRegistry, FileBasedTokenRegistry, JPABasedTokenRegistry

public interface SecurityTokenRegistry

A registry of Security Tokens that may be issued by instances of SecurityTokenProvider

Since:
Jan 4, 2011
Author:
Anil.Saldhana@redhat.com

Method Summary
 void addToken(String tokenID, Object token)
          Add a token to the registry with the given id
 Object getToken(String tokenID)
          Given the id, return a token
 void removeToken(String tokenID)
          Remove a token given the ID
 

Method Detail

addToken

void addToken(String tokenID,
              Object token)
              throws IOException
Add a token to the registry with the given id

Parameters:
tokenID -
token -
Throws:
{@code - IOException}
IOException

removeToken

void removeToken(String tokenID)
                 throws IOException
Remove a token given the ID

Parameters:
tokenID -
token -
Throws:
{@code - IOException}
IOException

getToken

Object getToken(String tokenID)
Given the id, return a token

Parameters:
tokenID -
Returns:

PicketLink Federation Core 2.1.6.Final-redhat-2

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