Class JWKSetCriterion

java.lang.Object
net.shibboleth.oidc.security.jose.criterion.JWKSetCriterion
All Implemented Interfaces:
Criterion

public final class JWKSetCriterion extends Object implements Criterion
An implementation of Criterion which specifies criteria based on the contents of a JWKSet element.
Since:
2.2.0
  • Field Details

    • jwkSet

      @Nullable private JWKSet jwkSet
      The JWKSet which serves as a source of credentials.
  • Constructor Details

    • JWKSetCriterion

      public JWKSetCriterion(@Nullable JWKSet newJwkSet)
      Constructor.
      Parameters:
      newJwkSet - the JWKSet credentials
  • Method Details

    • getJWKSet

      @Nullable public JWKSet getJWKSet()
      Gets the JWKSet which is the source of credentials.
      Returns:
      the JWKSet credentials
    • setJWKSet

      public void setJWKSet(@Nullable JWKSet newJwkSet)
      Sets the JWKSet which is the source of credentials.
      Parameters:
      newJwkSet - the JWKSet to use as a source of credentials
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object