public class ContextualPrincipalConnector extends Object implements PrincipalConnector
PrincipalConnector
within a resolution context. This wrapper ensures that the connector is
resolved only once per context.Constructor and Description |
---|
ContextualPrincipalConnector(PrincipalConnector newConnector)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getDependencyIds()
Gets the IDs of the resolution plugins this plugin is dependent on.
|
String |
getFormat()
Get NamID format.
|
String |
getId()
Returns the unique 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.
|
public ContextualPrincipalConnector(PrincipalConnector newConnector)
newConnector
- principal connector to wrappublic 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 resolutionAttributeResolutionException
- the problem that occurred during the resolutionpublic void validate() throws AttributeResolutionException
validate
in interface ResolutionPlugIn<String>
AttributeResolutionException
- if the plug-in has an invalid internal stateCopyright © 1999–2014. All rights reserved.