public class StoredIDPrincipalConnector extends BasePrincipalConnector
StoredIDPrincipalConnectors 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, setFormatgetDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependencyIds, getIdprivate 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()
booleanpublic void setNoResultIsError(boolean isError)
isError - booleanpublic 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-2015. All Rights Reserved.