public abstract class BaseAttributeDefinition extends AbstractResolutionPlugIn<BaseAttribute> implements AttributeDefinition
AttributeDefinition plug-ins.| コンストラクタと説明 |
|---|
BaseAttributeDefinition()
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract BaseAttribute |
doResolve(ShibbolethResolutionContext resolutionContext)
Creates and populates the values for the resolved attribute.
|
List<AttributeEncoder> |
getAttributeEncoders()
Gets the map of encoders to be added to attributes produced by this definition, keyed on encoder category.
|
Map<Locale,String> |
getDisplayDescriptions()
Gets the localized human readable description of attribute.
|
Map<Locale,String> |
getDisplayNames()
Gets the localized human readable name of the attribute.
|
String |
getSourceAttributeID()
Return the source attribute.
|
protected Collection<Object> |
getValuesFromAllDependencies(ShibbolethResolutionContext context)
Get values from dependencies.
|
boolean |
isDependencyOnly()
Gets whether this attribute definition is only a dependency and thus its values should never be released outside
the resolver.
|
BaseAttribute |
resolve(ShibbolethResolutionContext resolutionContext)
Performs the attribute resolution for this plugin.
|
void |
setDependencyOnly(boolean isDependencyOnly)
Sets whether this attribute definition is only a dependency and thus its values should never be released outside
the resolver.
|
void |
setSourceAttributeID(String newSourceAttributeID)
Set the source attribute.
|
getDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependencyIds, getId, validatepublic Map<Locale,String> getDisplayDescriptions()
getDisplayDescriptions インタフェース内 AttributeDefinitionpublic Map<Locale,String> getDisplayNames()
getDisplayNames インタフェース内 AttributeDefinitionpublic boolean isDependencyOnly()
isDependencyOnly インタフェース内 AttributeDefinitionpublic void setDependencyOnly(boolean isDependencyOnly)
isDependencyOnly - whether this attribute definition is only a dependencypublic List<AttributeEncoder> getAttributeEncoders()
getAttributeEncoders インタフェース内 AttributeDefinitionpublic BaseAttribute resolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
resolve インタフェース内 ResolutionPlugIn<BaseAttribute>resolutionContext - the context for the resolutionAttributeResolutionException - the problem that occurred during the resolutionprotected abstract BaseAttribute doResolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
resolutionContext - current attribute resolution contextAttributeResolutionException - thrown if there is a problem resolving and creating the attributeprotected Collection<Object> getValuesFromAllDependencies(ShibbolethResolutionContext context)
context - resolution contextpublic String getSourceAttributeID()
public void setSourceAttributeID(String newSourceAttributeID)
newSourceAttributeID - The sourceAttribute to set.Copyright © 2012. All Rights Reserved.