Class AbstractResolverPluginTest.MockBaseAttributeResolver

java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.attribute.resolver.AbstractResolverPlugin<IdPAttribute>
net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinition
net.shibboleth.idp.attribute.resolver.AbstractResolverPluginTest.MockBaseAttributeResolver
All Implemented Interfaces:
net.shibboleth.idp.attribute.resolver.AttributeDefinition, net.shibboleth.idp.attribute.resolver.ResolverPlugin<IdPAttribute>, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent, UnmodifiableComponent, DisposableBean
Enclosing class:
AbstractResolverPluginTest

private static final class AbstractResolverPluginTest.MockBaseAttributeResolver extends net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinition
This class implements the minimal level of functionality and is meant only as a means of testing the abstract ResolverPlugin.
  • Field Details

    • resolverValue

      private final IdPAttribute resolverValue
      Static value return by resolution.
  • Constructor Details

    • MockBaseAttributeResolver

      public MockBaseAttributeResolver(@Nonnull String id, @Nonnull String value)
      Constructor.
      Parameters:
      id - id of this plugin
      value - value returned by resolution
  • Method Details

    • doResolve

      @Nullable protected IdPAttribute doResolve(@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
      Overrides:
      doResolve in class net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinition
      Throws:
      net.shibboleth.idp.attribute.resolver.ResolutionException
    • doAttributeDefinitionResolve

      protected IdPAttribute doAttributeDefinitionResolve(@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:
      doAttributeDefinitionResolve in class net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinition
      Throws:
      net.shibboleth.idp.attribute.resolver.ResolutionException