Class TestSources.StaticDataConnector
java.lang.Object
- All Implemented Interfaces:
net.shibboleth.idp.attribute.resolver.DataConnector,net.shibboleth.idp.attribute.resolver.ResolverPlugin<Map<String,,net.shibboleth.idp.attribute.IdPAttribute>> Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,UnmodifiableComponent,DisposableBean
- Enclosing class:
- TestSources
private static class TestSources.StaticDataConnector
extends net.shibboleth.idp.attribute.resolver.AbstractDataConnector
A static
DataConnector.-
Field Summary
FieldsModifier and TypeFieldDescriptionStatic collection of values returned by this connector. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoDataConnectorResolve(net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext, net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext) protected voidGet the static values returned by this connector.voidsetValues(Collection<net.shibboleth.idp.attribute.IdPAttribute> newValues) Set static values returned by this connector.Methods inherited from class net.shibboleth.idp.attribute.resolver.AbstractDataConnector
doResolve, getExportAttributes, getFailoverDataConnectorId, getLastFail, getLastSuccess, getLogPrefix, getNoRetryDelay, setExportAttributes, setFailoverDataConnectorId, setLastFail, setLastSuccess, setNoRetryDelayMethods inherited from class net.shibboleth.idp.attribute.resolver.AbstractResolverPlugin
doDestroy, equals, getActivationCondition, getAttributeDependencies, getDataConnectorDependencies, hashCode, isPropagateResolutionExceptions, resolve, setActivationCondition, setAttributeDependencies, setDataConnectorDependencies, setPropagateResolutionExceptionsMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.DestructableComponent
destroy, isDestroyedMethods inherited from interface org.springframework.beans.factory.DisposableBean
destroyMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitializedMethods inherited from interface net.shibboleth.idp.attribute.resolver.ResolverPlugin
getActivationCondition, getAttributeDependencies, getDataConnectorDependencies, isPropagateResolutionExceptions, resolve
-
Field Details
-
attributes
Static collection of values returned by this connector.
-
-
Constructor Details
-
StaticDataConnector
private StaticDataConnector()
-
-
Method Details
-
getAttributes
@Nullable @NonnullAfterInit public Map<String,net.shibboleth.idp.attribute.IdPAttribute> getAttributes()Get the static values returned by this connector.- Returns:
- static values returned by this connector
-
setValues
public void setValues(@Nullable @NullableElements Collection<net.shibboleth.idp.attribute.IdPAttribute> newValues) Set static values returned by this connector.- Parameters:
newValues- static values returned by this connector
-
doDataConnectorResolve
@Nonnull protected Map<String,net.shibboleth.idp.attribute.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 - Specified by:
doDataConnectorResolvein classnet.shibboleth.idp.attribute.resolver.AbstractDataConnector- Throws:
net.shibboleth.idp.attribute.resolver.ResolutionException
-
doInitialize
- Overrides:
doInitializein classnet.shibboleth.idp.attribute.resolver.AbstractDataConnector- Throws:
ComponentInitializationException
-