Class AbstractOrderedCredentialResolver

All Implemented Interfaces:
Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent, Resolver<Credential,CriteriaSet>, OrderedCredentialResolver, CredentialResolver, Ordered
Direct Known Subclasses:
StaticCredentialResolver, StaticMapCredentialResolver

public abstract class AbstractOrderedCredentialResolver extends AbstractIdentifiableInitializableComponent implements OrderedCredentialResolver
Simple base class for resolvers to supply an Ordered implementation if they don't need a dedicated base class.

Additional "value-adds" include the component handling, the resolveSingle method, and built-in support for UsageCriterion and ProtocolCriterion filtering.

  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • order

      private int order
      Order.
    • filterByUsage

      private boolean filterByUsage
      Whether to apply usage filteing.
    • supportedProtocols

      private Set<String> supportedProtocols
      Protocol values supported by these credentials.
  • Constructor Details

    • AbstractOrderedCredentialResolver

      public AbstractOrderedCredentialResolver()
      Constructor.
  • Method Details