public abstract class AbstractSecurityTokenProvider extends Object implements SecurityTokenProvider
SecurityTokenProvider
SecurityTokenProvider.FAMILY_TYPE
Modifier and Type | Field and Description |
---|---|
protected static String |
ATTRIBUTE_PROVIDER |
protected static PicketLinkLogger |
logger |
protected Map<String,String> |
properties |
protected static String |
REVOCATION_REGISTRY |
protected static String |
REVOCATION_REGISTRY_FILE |
protected static String |
REVOCATION_REGISTRY_JDBC_CONFIG |
protected static String |
REVOCATION_REGISTRY_JPA_CONFIG |
protected RevocationRegistry |
revocationRegistry |
protected static String |
TOKEN_REGISTRY |
protected static String |
TOKEN_REGISTRY_FILE |
protected static String |
TOKEN_REGISTRY_JDBC |
protected static String |
TOKEN_REGISTRY_JPA |
protected SecurityTokenRegistry |
tokenRegistry |
protected static String |
USE_ABSOLUTE_KEYIDENTIFIER |
Constructor and Description |
---|
AbstractSecurityTokenProvider() |
Modifier and Type | Method and Description |
---|---|
protected Lifetime |
adjustLifetimeForClockSkew(Lifetime lifetime) |
protected long |
getClockSkewInMillis() |
void |
initialize(Map<String,String> properties)
Initializes the
SecurityTokenProvider using the specified properties map. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelToken, family, getSupportedQName, issueToken, renewToken, supports, tokenType, validateToken
protected static final PicketLinkLogger logger
protected static final String TOKEN_REGISTRY
protected static final String TOKEN_REGISTRY_FILE
protected static final String TOKEN_REGISTRY_JPA
protected static final String TOKEN_REGISTRY_JDBC
protected static final String REVOCATION_REGISTRY
protected static final String REVOCATION_REGISTRY_FILE
protected static final String REVOCATION_REGISTRY_JPA_CONFIG
protected static final String REVOCATION_REGISTRY_JDBC_CONFIG
protected static final String ATTRIBUTE_PROVIDER
protected static final String USE_ABSOLUTE_KEYIDENTIFIER
protected SecurityTokenRegistry tokenRegistry
protected RevocationRegistry revocationRegistry
public void initialize(Map<String,String> properties)
SecurityTokenProvider
Initializes the SecurityTokenProvider
using the specified properties map.
initialize
in interface SecurityTokenProvider
properties
- a Map<String, String>
that contains the properties that have been configured for this
SecurityTokenProvider
.protected long getClockSkewInMillis()
protected Lifetime adjustLifetimeForClockSkew(Lifetime lifetime) throws ProcessingException
ProcessingException
Copyright © 2019 JBoss by Red Hat. All rights reserved.