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, safeClose
public JDBCTokenRegistry()
public JDBCTokenRegistry(String jndiName)
public void addToken(String tokenID, Object token) throws IOException
SecurityTokenRegistry
addToken
in interface SecurityTokenRegistry
IOException
SecurityTokenRegistry.addToken(String, Object)
public void removeToken(String tokenID) throws IOException
SecurityTokenRegistry
removeToken
in interface SecurityTokenRegistry
IOException
SecurityTokenRegistry.removeToken(String)
public Object getToken(String tokenID)
SecurityTokenRegistry
getToken
in interface SecurityTokenRegistry
SecurityTokenRegistry.getToken(String)
Copyright © 2018 JBoss by Red Hat. All rights reserved.