Class JOSEObjectCriterion

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

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

    • joseObject

      @Nullable private JOSEObject joseObject
      The JOSEObject which serves as the source for credential criteria.
  • Constructor Details

    • JOSEObjectCriterion

      public JOSEObjectCriterion(@Nullable JOSEObject newJOSEObject)
      Constructor.
      Parameters:
      newJOSEObject - the JOSEObject credential criteria to use
  • Method Details

    • getJOSEObject

      @Nullable public JOSEObject getJOSEObject()
      Gets the JOSEObject which is the source of credential criteria.
      Returns:
      the JOSEObject credential criteria
    • setJOSEObject

      public void setJOSEObject(@Nullable JOSEObject newJOSEObject)
      Sets the JOSEObject which is the source of credential criteria.
      Parameters:
      newJOSEObject - the JOSEObject to use as credential criteria
    • 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