Interface RequestedAttribute

All Superinterfaces:
Attribute, AttributeExtensibleXMLObject, SAMLObject, XMLObject
All Known Implementing Classes:
RequestedAttributeImpl

public interface RequestedAttribute extends Attribute
SAML 2.0 Metadata RequestedAttribute.
  • Field Details

    • DEFAULT_ELEMENT_LOCAL_NAME

      @Nonnull @NotEmpty static final String DEFAULT_ELEMENT_LOCAL_NAME
      Local name, no namespace.
      See Also:
    • DEFAULT_ELEMENT_NAME

      @Nonnull static final QName DEFAULT_ELEMENT_NAME
      Default element name.
    • TYPE_LOCAL_NAME

      @Nonnull @NotEmpty static final String TYPE_LOCAL_NAME
      Local name of the XSI type.
      See Also:
    • TYPE_NAME

      @Nonnull static final QName TYPE_NAME
      QName of the XSI type.
    • IS_REQUIRED_ATTRIB_NAME

      @Nonnull @NotEmpty static final String IS_REQUIRED_ATTRIB_NAME
      "isRequired" attribute's local name.
      See Also:
  • Method Details

    • isRequired

      @Nullable Boolean isRequired()
      Checks to see if this requested attribute is also required.
      Returns:
      true if this attribute is required
    • isRequiredXSBoolean

      @Nullable XSBooleanValue isRequiredXSBoolean()
      Checks to see if this requested attribute is also required.
      Returns:
      true if this attribute is required
    • setIsRequired

      void setIsRequired(@Nullable Boolean newIsRequire)
      Sets if this requested attribute is also required. Boolean values will be marshalled to either "true" or "false".
      Parameters:
      newIsRequire - true if this attribute is required
    • setIsRequired

      void setIsRequired(@Nullable XSBooleanValue newIsRequire)
      Sets if this requested attribute is also required.
      Parameters:
      newIsRequire - true if this attribute is required