public class JDBCRevocationRegistry extends AbstractJDBCRegistry implements RevocationRegistry
SecurityTokenRegistry using JDBCdataSource, logger| Constructor and Description |
|---|
JDBCRevocationRegistry() |
JDBCRevocationRegistry(String jndiName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRevoked(String tokenType,
String tokenID)
Indicates whether the token with the specified id has been revoked or not.
|
void |
revokeToken(String tokenType,
String tokenID)
Adds the specified id to the revocation registry.
|
safeClose, safeClose, safeClosepublic JDBCRevocationRegistry()
public JDBCRevocationRegistry(String jndiName)
public boolean isRevoked(String tokenType, String tokenID)
RevocationRegistryIndicates whether the token with the specified id has been revoked or not.
isRevoked in interface RevocationRegistrytokenType - a String representing the token type.tokenID - a String representing the token id.true if the specified id has been revoked; false otherwise.RevocationRegistry.isRevoked(String, String)public void revokeToken(String tokenType, String tokenID)
RevocationRegistryAdds the specified id to the revocation registry. The security token type can be used to distinguish tokens that may have the same id but that are of different types.
revokeToken in interface RevocationRegistrytokenType - a String representing the security token type.tokenID - the id to registered.RevocationRegistry.revokeToken(String, String)Copyright © 2018 JBoss by Red Hat. All rights reserved.