public class DefaultTokenRegistry extends Object implements SecurityTokenRegistry
Constructor and Description |
---|
DefaultTokenRegistry() |
Modifier and Type | Method and Description |
---|---|
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
|
public void addToken(String tokenID, Object token) throws IOException
SecurityTokenRegistry
addToken
in interface SecurityTokenRegistry
IOException
SecurityTokenRegistry.addToken(java.lang.String,
java.lang.Object)
public Object getToken(String tokenID)
SecurityTokenRegistry
getToken
in interface SecurityTokenRegistry
SecurityTokenRegistry.getToken(java.lang.String)
public void removeToken(String tokenID) throws IOException
SecurityTokenRegistry
removeToken
in interface SecurityTokenRegistry
IOException
SecurityTokenRegistry.removeToken(java.lang.String)
Copyright © 2017 JBoss by Red Hat. All rights reserved.