@ThreadSafe public class MockStaticDataConnector extends net.shibboleth.idp.attribute.resolver.AbstractDataConnector
| 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 |
|---|
MockStaticDataConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,IdPAttribute> |
doDataConnectorResolve(net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext,
net.shibboleth.idp.attribute.resolver.context.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
@Nonnull public Map<String,IdPAttribute> getAttributes()
public void setValues(@Nullable@NullableElements Collection<IdPAttribute> newValues)
newValues - static values returned by this connector@Nullable protected Map<String,IdPAttribute> doDataConnectorResolve(@Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext, @Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext) throws net.shibboleth.idp.attribute.resolver.ResolutionException
protected void doInitialize()
throws ComponentInitializationException
doInitialize in class net.shibboleth.idp.attribute.resolver.AbstractDataConnectorComponentInitializationExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.