public class StoredIDPrincipalConnector extends BasePrincipalConnector
StoredIDPrincipalConnector
s into principals.Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Class logger.
|
private boolean |
noResultIsError
Whether an empty result set is an error.
|
private StoredIDStore |
pidStore
ID store that manages the stored IDs.
|
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
private final org.slf4j.Logger log
private StoredIDStore pidStore
private boolean noResultIsError
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-2012. All Rights Reserved.