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
SecurityTokenRegistryaddToken in interface SecurityTokenRegistryIOExceptionSecurityTokenRegistry.addToken(java.lang.String,
java.lang.Object)public Object getToken(String tokenID)
SecurityTokenRegistrygetToken in interface SecurityTokenRegistrySecurityTokenRegistry.getToken(java.lang.String)public void removeToken(String tokenID) throws IOException
SecurityTokenRegistryremoveToken in interface SecurityTokenRegistryIOExceptionSecurityTokenRegistry.removeToken(java.lang.String)Copyright © 2018 JBoss by Red Hat. All rights reserved.