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, setSourceAttributeID
getDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDependencyIds, getId
private 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 BaseAttributeDefinition
resolutionContext
- 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-2012. All Rights Reserved.