org.picketlink.idm.config
public class NamedIdentityConfigurationBuilder extends AbstractIdentityConfigurationChildBuilder<IdentityConfiguration>
A class used to build IdentityConfiguration
instances.
Modifier | Constructor and Description |
---|---|
protected |
NamedIdentityConfigurationBuilder(String name,
IdentityConfigurationBuilder builder) |
Modifier and Type | Method and Description |
---|---|
protected IdentityConfiguration |
create()
Creates a new configuration.
|
protected String |
getName() |
protected Builder<IdentityConfiguration> |
readFrom(IdentityConfiguration configuration)
Reads a pre-created configuration.
|
void |
registerIdentityType(Class<? extends IdentityType> identityType) |
void |
registerRelationshipType(Class<? extends Relationship> relationshipType) |
IdentityStoresConfigurationBuilder |
stores()
This method should be used to provide all the necessary configuration for the identity stores supported by
this configuration.
|
protected void |
validate()
Validates the internal state.
|
build, buildAll, named
protected NamedIdentityConfigurationBuilder(String name, IdentityConfigurationBuilder builder)
public void registerIdentityType(Class<? extends IdentityType> identityType)
public void registerRelationshipType(Class<? extends Relationship> relationshipType)
public IdentityStoresConfigurationBuilder stores()
This method should be used to provide all the necessary configuration for the identity stores supported by this configuration.
protected IdentityConfiguration create()
Builder
Creates a new configuration.
create
in class Builder<IdentityConfiguration>
protected void validate()
Builder
Validates the internal state.
validate
in class Builder<IdentityConfiguration>
protected Builder<IdentityConfiguration> readFrom(IdentityConfiguration configuration)
Builder
Reads a pre-created configuration.
readFrom
in class Builder<IdentityConfiguration>
protected String getName()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.