edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition
Class SimpleAttributeDefinition
java.lang.Object
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.AbstractResolutionPlugIn<BaseAttribute>
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.BaseAttributeDefinition
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.SimpleAttributeDefinition
- All Implemented Interfaces:
- AttributeDefinition, ResolutionPlugIn<BaseAttribute>
public class SimpleAttributeDefinition
- extends BaseAttributeDefinition
Simple attribute definition.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleAttributeDefinition
public SimpleAttributeDefinition()
doResolve
protected BaseAttribute<?> doResolve(ShibbolethResolutionContext resolutionContext)
throws AttributeResolutionException
- Creates and populates the values for the resolved attribute. Implementations should *not* set, or otherwise
manage, the attribute encoders for the resolved attribute.
- Specified by:
doResolve
in class BaseAttributeDefinition
- Parameters:
resolutionContext
- current attribute resolution context
- Returns:
- resolved attribute
- Throws:
AttributeResolutionException
- thrown if there is a problem resolving and creating the attribute
validate
public void validate()
throws AttributeResolutionException
- Validate the internal state of this plug-in. This process may not rely on information from any dependency.
- Throws:
AttributeResolutionException
- if the plug-in has an invalid internal state
Copyright © 2006-2009 Internet2. All Rights Reserved.