Class IssuerConstraint

    • Constructor Detail

      • IssuerConstraint

        public IssuerConstraint()
    • Method Detail

      • getName

        public LeafConstraint getName()
        Get the constraint for name.
        Returns:
        The constraint for name.
      • setName

        public void setName​(LeafConstraint constraint)
        Set the constraint for name.
        Parameters:
        constraint - The constraint for name.
      • getCountry

        public LeafConstraint getCountry()
        Get the constraint for country.
        Returns:
        The constraint for country.
      • setCountry

        public void setCountry​(LeafConstraint constraint)
        Set the constraint for country.
        Parameters:
        constraint - The constraint for country.
      • extract

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