public class JDBCTokenRegistry extends AbstractJDBCRegistry implements SecurityTokenRegistry
SecurityTokenRegistry using JDBCdataSource, logger| Constructor and Description |
|---|
JDBCTokenRegistry() |
JDBCTokenRegistry(String jndiName) |
| 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
|
safeClose, safeClose, safeClosepublic JDBCTokenRegistry()
public JDBCTokenRegistry(String jndiName)
public void addToken(String tokenID, Object token) throws IOException
SecurityTokenRegistryaddToken in interface SecurityTokenRegistryIOExceptionSecurityTokenRegistry.addToken(String, Object)public void removeToken(String tokenID) throws IOException
SecurityTokenRegistryremoveToken in interface SecurityTokenRegistryIOExceptionSecurityTokenRegistry.removeToken(String)public Object getToken(String tokenID)
SecurityTokenRegistrygetToken in interface SecurityTokenRegistrySecurityTokenRegistry.getToken(String)Copyright © 2018 JBoss by Red Hat. All rights reserved.