public class RegexSplitAttributeDefinition extends BaseAttributeDefinition
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private Pattern |
regex
Regular expression used to split values.
|
| Constructor and Description |
|---|
RegexSplitAttributeDefinition(String regularExpression,
boolean caseSensitive)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected BaseAttribute<?> |
doResolve(ShibbolethResolutionContext resolutionContext)
Creates and populates the values for the resolved attribute.
|
void |
validate()
Validate the internal state of this plug-in.
|
getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getSourceAttributeID, getValuesFromAllDependencies, isDependencyOnly, resolve, setDependencyOnly, setSourceAttributeIDgetDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependencyIds, getIdprivate final org.slf4j.Logger log
private Pattern regex
public RegexSplitAttributeDefinition(String regularExpression, boolean caseSensitive)
regularExpression - expression used to split attribute valuescaseSensitive - whether the regular expression is case sensitiveprotected BaseAttribute<?> doResolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
doResolve in class BaseAttributeDefinitionresolutionContext - current attribute resolution contextAttributeResolutionException - thrown if there is a problem resolving and creating the attributepublic void validate()
throws AttributeResolutionException
AttributeResolutionException - if the plug-in has an invalid internal stateCopyright © 1999-2015. All Rights Reserved.