public class PrescopedAttributeDefinition extends BaseAttributeDefinition
ScopedAttributeValues by taking a source attribute value splitting it
at a delimiter. The first atom becomes the attribute value and the second value becomes the scope.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private String |
scopeDelimiter
Delimiter between value and scope.
|
| Constructor and Description |
|---|
PrescopedAttributeDefinition(String delimiter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BaseAttribute<ScopedAttributeValue> |
doResolve(ShibbolethResolutionContext resolutionContext)
Creates and populates the values for the resolved attribute.
|
String |
getScopeDelimited()
Get delimiter between value and scope.
|
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 String scopeDelimiter
public PrescopedAttributeDefinition(String delimiter)
delimiter - scope of the attributepublic BaseAttribute<ScopedAttributeValue> doResolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
doResolve in class BaseAttributeDefinitionresolutionContext - current attribute resolution contextAttributeResolutionException - thrown if there is a problem resolving and creating the attributepublic String getScopeDelimited()
public void validate()
throws AttributeResolutionException
AttributeResolutionException - if the plug-in has an invalid internal stateCopyright © 1999-2015. All Rights Reserved.