public class TokenStoreConfigurationBuilder extends IdentityStoreConfigurationBuilder<TokenStoreConfiguration,TokenStoreConfigurationBuilder>
Constructor and Description |
---|
TokenStoreConfigurationBuilder(IdentityStoresConfigurationBuilder builder) |
Modifier and Type | Method and Description |
---|---|
protected TokenStoreConfiguration |
create()
Creates a new configuration.
|
TokenStoreConfigurationBuilder |
tokenConsumer(Token.Consumer... tokenConsumers)
You must set a
Token.Consumer if you want to validate tokens and extract identity
information from them. |
add, addContextInitializer, addCredentialHandler, file, getContextInitializers, getCredentialHandlerProperties, getCredentialHandlers, getGlobalRelationshipTypes, getSelfRelationshipTypes, getSupportedTypes, getUnsupportedTypes, isSupportAttributes, isSupportCredentials, isSupportPermissions, jpa, ldap, readFrom, setCredentialHandlerProperty, supportAllFeatures, supportAttributes, supportCredentials, supportGlobalRelationship, supportPermissions, supportSelfRelationship, supportType, token, unsupportType, validate
build, buildAll, named
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, buildAll, named
public TokenStoreConfigurationBuilder(IdentityStoresConfigurationBuilder builder)
protected TokenStoreConfiguration create() throws SecurityConfigurationException
Builder
Creates a new configuration.
create
in class Builder<TokenStoreConfiguration>
SecurityConfigurationException
- if any error occurs or for any invalid configurationpublic TokenStoreConfigurationBuilder tokenConsumer(Token.Consumer... tokenConsumers)
You must set a Token.Consumer
if you want to validate tokens and extract identity
information from them.
tokenConsumers
- A single or an array of Token.Consumer
instances.Copyright © 2018 JBoss by Red Hat. All rights reserved.