Class AbstractDataConnectorTest.MockBaseDataConnector
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.attribute.resolver.AbstractResolverPlugin<Map<String,IdPAttribute>>
net.shibboleth.idp.attribute.resolver.AbstractDataConnector
net.shibboleth.idp.attribute.resolver.AbstractDataConnectorTest.MockBaseDataConnector
- All Implemented Interfaces:
net.shibboleth.idp.attribute.resolver.DataConnector,net.shibboleth.idp.attribute.resolver.ResolverPlugin<Map<String,,IdPAttribute>> Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,UnmodifiableComponent,DisposableBean
- Enclosing class:
- AbstractDataConnectorTest
private static final class AbstractDataConnectorTest.MockBaseDataConnector
extends net.shibboleth.idp.attribute.resolver.AbstractDataConnector
This class implements the minimal level of functionality and is meant only as a means of testing the abstract
DataConnector.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<String,IdPAttribute> Static values returned forAbstractResolverPlugin.resolve(AttributeResolutionContext). -
Constructor Summary
ConstructorsConstructorDescriptionMockBaseDataConnector(String id, Map<String, IdPAttribute> values) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String,IdPAttribute> doDataConnectorResolve(net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext, net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext) Methods inherited from class net.shibboleth.idp.attribute.resolver.AbstractDataConnector
doInitialize, 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
-
staticValues
Static values returned forAbstractResolverPlugin.resolve(AttributeResolutionContext).
-
-
Constructor Details
-
MockBaseDataConnector
Constructor.- Parameters:
id- id of the data connectorvalues- values returned forAbstractResolverPlugin.resolve(AttributeResolutionContext)
-
-
Method Details
-
doDataConnectorResolve
@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 - Specified by:
doDataConnectorResolvein classnet.shibboleth.idp.attribute.resolver.AbstractDataConnector- Throws:
net.shibboleth.idp.attribute.resolver.ResolutionException
-