@ThreadSafe public class StaticDataConnector extends AbstractDataConnector
DataConnector that just returns a static collection of
attributes.| Modifier and Type | Field and Description |
|---|---|
private Map<String,IdPAttribute> |
attributes
Static collection of values returned by this connector.
|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
StaticDataConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,IdPAttribute> |
doDataConnectorResolve(AttributeResolutionContext resolutionContext,
AttributeResolverWorkContext workContext) |
protected void |
doInitialize() |
Map<String,IdPAttribute> |
getAttributes()
Get the static values returned by this connector.
|
void |
setValues(Collection<IdPAttribute> newValues)
Set static values returned by this connector.
|
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
private Map<String,IdPAttribute> attributes
@Nullable @NonnullAfterInit public Map<String,IdPAttribute> getAttributes()
public void setValues(@Nullable@NullableElements Collection<IdPAttribute> newValues)
newValues - static values returned by this connector@Nonnull protected Map<String,IdPAttribute> doDataConnectorResolve(@Nonnull AttributeResolutionContext resolutionContext, @Nonnull AttributeResolverWorkContext workContext) throws ResolutionException
doDataConnectorResolve in class AbstractDataConnectorResolutionExceptionprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractDataConnectorComponentInitializationExceptionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.