public class OpenIDTokenProvider extends AbstractSecurityTokenProvider implements SecurityTokenProvider
SecurityTokenProvider.FAMILY_TYPE| Modifier and Type | Field and Description |
|---|---|
static String |
OPENID_1_0_NS |
static String |
OPENID_1_1_NS |
static String |
OPENID_2_0_NS |
protected static OpenIDProviderManager |
serverManager |
ATTRIBUTE_PROVIDER, logger, properties, REVOCATION_REGISTRY, REVOCATION_REGISTRY_FILE, REVOCATION_REGISTRY_JDBC_CONFIG, REVOCATION_REGISTRY_JPA_CONFIG, revocationRegistry, TOKEN_REGISTRY, TOKEN_REGISTRY_FILE, TOKEN_REGISTRY_JDBC, TOKEN_REGISTRY_JPA, tokenRegistry, USE_ABSOLUTE_KEYIDENTIFIER| Constructor and Description |
|---|
OpenIDTokenProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelToken(ProtocolContext context)
Cancels the token contained in the specified request context.
|
protected void |
check() |
String |
family()
The family where this security token provider belongs
|
QName |
getSupportedQName()
Provide an optional
QName for configuration |
void |
issueToken(ProtocolContext context)
Generates a security token using the information contained in the specified request context and stores the
newly-created
token in the context itself.
|
void |
renewToken(ProtocolContext context)
Renews the security token contained in the specified request context.
|
boolean |
supports(String namespace)
Specify whether this token provider supports a particular namespace
|
String |
tokenType()
Token Type
|
void |
validateToken(ProtocolContext context)
Evaluates the validity of the token contained in the specified request context and sets the result in the context
itself.
|
adjustLifetimeForClockSkew, getClockSkewInMillis, initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializepublic static final String OPENID_1_0_NS
public static final String OPENID_1_1_NS
public static final String OPENID_2_0_NS
protected static OpenIDProviderManager serverManager
public boolean supports(String namespace)
SecurityTokenProvidersupports in interface SecurityTokenProvidernamespace - a string value representing a namespaceSecurityTokenProvider.supports(String)public String tokenType()
SecurityTokenProvidertokenType in interface SecurityTokenProviderSecurityTokenProvider.tokenType()public QName getSupportedQName()
SecurityTokenProviderQName for configurationgetSupportedQName in interface SecurityTokenProviderSecurityTokenProvider.getSupportedQName()public String family()
SecurityTokenProviderfamily in interface SecurityTokenProviderSecurityTokenProvider.family()public void issueToken(ProtocolContext context) throws org.jboss.security.xacml.sunxacml.ProcessingException
SecurityTokenProviderGenerates a security token using the information contained in the specified request context and stores the newly-created token in the context itself.
issueToken in interface SecurityTokenProvidercontext - org.jboss.security.xacml.sunxacml.ProcessingExceptionpublic void renewToken(ProtocolContext context) throws org.jboss.security.xacml.sunxacml.ProcessingException
SecurityTokenProviderRenews the security token contained in the specified request context. This method is used when a previously generated token has expired, generating a new version of the same token with different expiration semantics.
renewToken in interface SecurityTokenProvidercontext - the ProtocolContext that contains the token to be renewed.org.jboss.security.xacml.sunxacml.ProcessingExceptionpublic void cancelToken(ProtocolContext context) throws org.jboss.security.xacml.sunxacml.ProcessingException
SecurityTokenProviderCancels the token contained in the specified request context. A security token is usually canceled when one wants to make sure that the token will not be used anymore. A security token can't be renewed once it has been canceled.
cancelToken in interface SecurityTokenProvidercontext - the ProtocolContext that contains the token to be canceled.org.jboss.security.xacml.sunxacml.ProcessingExceptionpublic void validateToken(ProtocolContext context) throws org.jboss.security.xacml.sunxacml.ProcessingException
SecurityTokenProviderEvaluates the validity of the token contained in the specified request context and sets the result in the context itself. The result can be a status, a new token, or both.
validateToken in interface SecurityTokenProvidercontext - the ProtocolContext that contains the token to be validated.org.jboss.security.xacml.sunxacml.ProcessingExceptionprotected void check()
Copyright © 2018 JBoss by Red Hat. All rights reserved.