Class LeafConstraint

    • Constructor Detail

      • LeafConstraint

        public LeafConstraint()
    • Method Detail

      • isEssential

        public boolean isEssential()
        Get the value of "essential"
        Returns:
        The value of "essential".
      • setEssential

        public void setEssential​(boolean essential)
        Set the value of "essential"
        Parameters:
        essential - The value of "essential".
      • getValue

        public String getValue()
        Get the value of "value".
        Returns:
        The value of "value".
      • setValue

        public void setValue​(String value)
        Set the value of "value".
        Parameters:
        value - The value of "value".
      • getValues

        public String[] getValues()
        Get the value of "values".
        Returns:
        The value of "values".
      • setValues

        public void setValues​(String[] values)
        Set the value of "values".
        Parameters:
        value - The value of "values".
      • extract

        public static LeafConstraint extract​(Map<?,​?> map,
                                             String key)
                                      throws ConstraintException
        Create a LeafConstraint instance from an object in the given map.
        Parameters:
        map - A map that may contain a constraint.
        key - The key that identifies the object in the map.
        Returns:
        A LeafConstraint instance that represents a constraint. Even if the map does not contain the given key, an instance of LeafConstraint is returned.
        Throws:
        ConstraintException - The structure of the map does not conform to the specification (OpenID Connect for Identity Assurance 1.0).