|
||||||||||
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.principalConnector.ContextualPrincipalConnector
public class ContextualPrincipalConnector
Wrapper for a PrincipalConnector
within a resolution context. This wrapper ensures that the connector is
resolved only once per context.
Constructor Summary | |
---|---|
ContextualPrincipalConnector(PrincipalConnector newConnector)
Constructor. |
Method Summary | |
---|---|
List<String> |
getDependencyIds()
Gets the IDs of the resolution plugins this plugin is dependent on. |
String |
getFormat()
Get NamID format. |
String |
getId()
Returns the unqiue ID of the plugin. |
Set<String> |
getRelyingParties()
Get relying parties this connector is valid for. |
String |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextualPrincipalConnector(PrincipalConnector newConnector)
newConnector
- principal connector to wrapMethod Detail |
---|
public List<String> getDependencyIds()
getDependencyIds
in interface ResolutionPlugIn<String>
public String getFormat()
getFormat
in interface PrincipalConnector
public String getId()
getId
in interface ResolutionPlugIn<String>
public Set<String> getRelyingParties()
getRelyingParties
in interface PrincipalConnector
public String resolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
resolve
in interface ResolutionPlugIn<String>
resolutionContext
- the context for the resolution
AttributeResolutionException
- the problem that occured during the resolutionpublic void validate() throws AttributeResolutionException
validate
in interface ResolutionPlugIn<String>
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 |