|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.ContextualDataConnector
public class ContextualDataConnector
Wrapper for a DataConnector
within a resolution context. This wrapper ensures that the connector is resolved
only once per context.
Constructor Summary | |
---|---|
ContextualDataConnector(DataConnector newConnector)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getDependencyIds()
Gets the IDs of the resolution plugins this plugin is dependent on. |
String |
getFailoverDependencyId()
Returns the ID of data connectors to use if this one fails. |
String |
getId()
Returns the unique ID of the plugin. |
int |
hashCode()
|
Map<String,BaseAttribute> |
resolve(ShibbolethResolutionContext resolutionContext)
Performs the attribute resolution for this plugin. |
void |
validate()
Validate the internal state of this plug-in. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextualDataConnector(DataConnector newConnector)
newConnector
- data connector to wrapMethod Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public List<String> getDependencyIds()
getDependencyIds
in interface ResolutionPlugIn<Map<String,BaseAttribute>>
public String getFailoverDependencyId()
getFailoverDependencyId
in interface DataConnector
public String getId()
getId
in interface ResolutionPlugIn<Map<String,BaseAttribute>>
public Map<String,BaseAttribute> resolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
resolve
in interface ResolutionPlugIn<Map<String,BaseAttribute>>
resolutionContext
- the context for the resolution
AttributeResolutionException
- the problem that occurred during the resolutionpublic void validate() throws AttributeResolutionException
validate
in interface ResolutionPlugIn<Map<String,BaseAttribute>>
AttributeResolutionException
- if the plug-in has an invalid internal state
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |