public abstract class AbstractPersistentIdDataConnector extends net.shibboleth.idp.attribute.resolver.AbstractDataConnector
DataConnector that handles persistent IDs that depend on
a source IdPAttribute.| Modifier and Type | Field and Description |
|---|---|
private String |
generatedAttribute
ID of the attribute generated by this data connector.
|
private org.slf4j.Logger |
log
Class logger.
|
private String |
sourceAttribute
ID of the attribute whose first value is used when generating the computed ID.
|
| Constructor and Description |
|---|
AbstractPersistentIdDataConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
protected Map<String,IdPAttribute> |
encodeAsAttribute(String value)
Encode the provided string.
|
String |
getGeneratedAttributeId()
Get the ID of the attribute generated by this connector.
|
String |
getSourceAttributeId()
Get the ID of the attribute whose first value is used when generating the computed ID.
|
protected String |
resolveSourceAttribute(net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext)
Helper function to locate the source Attribute in the dependencies.
|
void |
setGeneratedAttributeId(String newAttributeId)
Set the ID of the attribute generated by this connector.
|
void |
setSourceAttributeId(String newAttributeId)
Set the ID of the attribute whose first value is used when generating the computed ID.
|
doDataConnectorResolve, doResolve, getFailoverDataConnectorId, getLastFail, getLogPrefix, getNoRetryDelay, setFailoverDataConnectorId, setLastFail, setNoRetryDelaydoDestroy, equals, getActivationCondition, getDependencies, getProfileContextStrategy, hashCode, isPropagateResolutionExceptions, resolve, setActivationCondition, setDependencies, setProfileContextStrategy, setPropagateResolutionExceptionssetIdgetIddestroy, initialize, isDestroyed, isInitializedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetActivationCondition, getDependencies, isPropagateResolutionExceptions, resolveinitialize, isInitializeddestroy, isDestroyedgetId@Nonnull private final org.slf4j.Logger log
@NonnullAfterInit private String generatedAttribute
@NonnullAfterInit private String sourceAttribute
@NonnullAfterInit public String getSourceAttributeId()
public void setSourceAttributeId(@Nullable String newAttributeId)
newAttributeId - what to set.@NonnullAfterInit public String getGeneratedAttributeId()
public void setGeneratedAttributeId(@Nullable String newAttributeId)
newAttributeId - what to set.protected void doInitialize()
throws ComponentInitializationException
doInitialize in class net.shibboleth.idp.attribute.resolver.AbstractDataConnectorComponentInitializationException@Nullable protected String resolveSourceAttribute(@Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext)
workContext - the context to look inCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.