public class ContextualAttributeDefinition extends Object implements AttributeDefinition
AttributeDefinition
within a ShibbolethResolutionContext
. This wrapper ensures that
the definition is resolved only once per context.コンストラクタと説明 |
---|
ContextualAttributeDefinition(AttributeDefinition newDefinition)
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
equals(Object obj) |
List<AttributeEncoder> |
getAttributeEncoders()
Gets the map of encoders to be added to attributes produced by this definition, keyed on encoder category.
|
List<String> |
getDependencyIds()
Gets the IDs of the resolution plugins this plugin is dependent on.
|
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 |
getId()
Returns the unique ID of the plugin.
|
int |
hashCode() |
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 |
validate()
Validate the internal state of this plug-in.
|
public ContextualAttributeDefinition(AttributeDefinition newDefinition)
newDefinition
- attribute definition to wrappublic List<AttributeEncoder> getAttributeEncoders()
getAttributeEncoders
インタフェース内 AttributeDefinition
public List<String> getDependencyIds()
getDependencyIds
インタフェース内 ResolutionPlugIn<BaseAttribute>
public Map<Locale,String> getDisplayDescriptions()
getDisplayDescriptions
インタフェース内 AttributeDefinition
public Map<Locale,String> getDisplayNames()
getDisplayNames
インタフェース内 AttributeDefinition
public String getId()
getId
インタフェース内 ResolutionPlugIn<BaseAttribute>
public boolean isDependencyOnly()
isDependencyOnly
インタフェース内 AttributeDefinition
public BaseAttribute resolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
resolve
インタフェース内 ResolutionPlugIn<BaseAttribute>
resolutionContext
- the context for the resolutionAttributeResolutionException
- the problem that occurred during the resolutionpublic void validate() throws AttributeResolutionException
validate
インタフェース内 ResolutionPlugIn<BaseAttribute>
AttributeResolutionException
- if the plug-in has an invalid internal stateCopyright © 2012. All Rights Reserved.