public class MappedAttributeDefinition extends BaseAttributeDefinition
Pattern
.コンストラクタと説明 |
---|
MappedAttributeDefinition()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected BaseAttribute |
doResolve(ShibbolethResolutionContext resolutionContext)
Creates and populates the values for the resolved attribute.
|
String |
getDefaultValue()
Gets the default return value.
|
Collection<ValueMap> |
getValueMaps()
Get the value maps.
|
boolean |
isPassThru()
Gets whether the definition passes thru unmatched values.
|
protected Set<String> |
mapValue(String value)
Maps the value from a dependency in to the value(s) for this attribute.
|
void |
setDefaultValue(String newDefaultValue)
Sets the default return value.
|
void |
setPassThru(boolean newPassThru)
Sets whether the definition passes thru unmatched values.
|
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
protected BaseAttribute doResolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
doResolve
クラス内 BaseAttributeDefinition
resolutionContext
- current attribute resolution contextAttributeResolutionException
- thrown if there is a problem resolving and creating the attributeprotected Set<String> mapValue(String value)
value
- the value from the dependencypublic void validate() throws AttributeResolutionException
AttributeResolutionException
- if the plug-in has an invalid internal statepublic String getDefaultValue()
public void setDefaultValue(String newDefaultValue)
newDefaultValue
- the default return valuepublic boolean isPassThru()
public void setPassThru(boolean newPassThru)
newPassThru
- whether the definition passes thru unmatched values.public Collection<ValueMap> getValueMaps()
Copyright © 2012. All Rights Reserved.