@ThreadSafe public class RegexSplitAttributeDefinition extends AbstractAttributeDefinition
AttributeDefinition that produces its attribute values by taking the
first group match of a regular expression evaluating against the values of this definition's dependencies.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private Pattern |
regexp
Regular expression used to split values.
|
| Constructor and Description |
|---|
RegexSplitAttributeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected IdPAttribute |
doAttributeDefinitionResolve(AttributeResolutionContext resolutionContext,
AttributeResolverWorkContext workContext) |
protected void |
doInitialize() |
Pattern |
getRegularExpression()
Gets the regular expression used to split input values.
|
void |
setRegularExpression(Pattern expression)
Sets the regular expression used to split input values.
|
doResolve, getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getLogPrefix, getSourceAttributeId, isDependencyOnly, setAttributeEncoders, setDependencyOnly, setDisplayDescriptions, setDisplayNames, setSourceAttributeIddoDestroy, equals, getActivationCondition, getDependencies, getProfileContextStrategy, hashCode, isPropagateResolutionExceptions, resolve, setActivationCondition, setDependencies, setProfileContextStrategy, setPropagateResolutionExceptionssetIdgetIddestroy, initialize, isDestroyed, isInitializedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetActivationCondition, getDependencies, isPropagateResolutionExceptions, resolveinitialize, isInitializeddestroy, isDestroyedgetId@Nonnull private final org.slf4j.Logger log
@Nullable @NonnullAfterInit public Pattern getRegularExpression()
public void setRegularExpression(@Nonnull Pattern expression)
expression - regular expression used to split input values@Nullable protected IdPAttribute doAttributeDefinitionResolve(@Nonnull AttributeResolutionContext resolutionContext, @Nonnull AttributeResolverWorkContext workContext) throws ResolutionException
doAttributeDefinitionResolve in class AbstractAttributeDefinitionResolutionExceptionprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractAttributeDefinitionComponentInitializationExceptionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.