Class NoopKeyInfoCredentialResolver

java.lang.Object
org.projecthusky.xua.validation.NoopKeyInfoCredentialResolver
All Implemented Interfaces:
net.shibboleth.utilities.java.support.resolver.Resolver<org.opensaml.security.credential.Credential,net.shibboleth.utilities.java.support.resolver.CriteriaSet>, org.opensaml.security.credential.CredentialResolver, org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver

@ThreadSafe public class NoopKeyInfoCredentialResolver extends Object implements org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver
A no-operation KeyInfoCredentialResolver.
Author:
Quentin Ligier
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Iterable<org.opensaml.security.credential.Credential>
    resolve(@Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria)
    Process the specified criteria and return the resulting instances of the product type which satisfy the criteria.
    @Nullable org.opensaml.security.credential.Credential
    resolveSingle(@Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria)
    Process the specified criteria and return a single instance of the product type which satisfies the criteria.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NoopKeyInfoCredentialResolver

      public NoopKeyInfoCredentialResolver()
  • Method Details

    • resolve

      public @NonNull Iterable<org.opensaml.security.credential.Credential> resolve(@Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria)
      Process the specified criteria and return the resulting instances of the product type which satisfy the criteria.
      Specified by:
      resolve in interface net.shibboleth.utilities.java.support.resolver.Resolver<org.opensaml.security.credential.Credential,net.shibboleth.utilities.java.support.resolver.CriteriaSet>
      Parameters:
      criteria - the criteria to evaluate or process.
      Returns:
      instances which satisfy the criteria.
    • resolveSingle

      public @Nullable org.opensaml.security.credential.Credential resolveSingle(@Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria)
      Process the specified criteria and return a single instance of the product type which satisfies the criteria.

      If multiple items satisfy the criteria, the choice of which single item to return is implementation-dependent.

      Specified by:
      resolveSingle in interface net.shibboleth.utilities.java.support.resolver.Resolver<org.opensaml.security.credential.Credential,net.shibboleth.utilities.java.support.resolver.CriteriaSet>
      Parameters:
      criteria - the criteria to evaluate or process.
      Returns:
      a single instance satisfying the criteria, or null.