public class StoredIDPrincipalConnector extends BasePrincipalConnector
StoredIDPrincipalConnector
s into principals.Constructor and Description |
---|
StoredIDPrincipalConnector(StoredIDDataConnector idProducer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getPeerEntityId(ShibbolethResolutionContext resolutionContext)
Gets the entity ID used for the peer.
|
boolean |
isNoResultIsError()
This returns whether this connector will throw an exception if no search results are found.
|
String |
resolve(ShibbolethResolutionContext resolutionContext)
Performs the attribute resolution for this plugin.
|
void |
setNoResultIsError(boolean isError)
This sets whether this connector will throw an exception if no search results are found.
|
void |
validate()
Validate the internal state of this plug-in.
|
getFormat, getRelyingParties, setFormat
getDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDependencyIds, getId
public StoredIDPrincipalConnector(StoredIDDataConnector idProducer)
idProducer
- data connector that produced the stored ID.public boolean isNoResultIsError()
boolean
public void setNoResultIsError(boolean isError)
isError
- boolean
public String resolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
resolutionContext
- the context for the resolutionAttributeResolutionException
- the problem that occurred during the resolutionprotected String getPeerEntityId(ShibbolethResolutionContext resolutionContext)
resolutionContext
- current attribute resolution contextpublic void validate() throws AttributeResolutionException
AttributeResolutionException
- if the plug-in has an invalid internal stateCopyright © 1999–2014. All rights reserved.