Interface NameIDPolicy

All Superinterfaces:
SAMLObject, XMLObject
All Known Implementing Classes:
NameIDPolicyImpl

public interface NameIDPolicy
extends SAMLObject
SAML 2.0 Core NameIDPolicy.
  • Field Details

    • DEFAULT_ELEMENT_LOCAL_NAME

      static final String DEFAULT_ELEMENT_LOCAL_NAME
      Element local name.
      See Also:
      Constant Field Values
    • DEFAULT_ELEMENT_NAME

      static final QName DEFAULT_ELEMENT_NAME
      Default element name.
    • TYPE_LOCAL_NAME

      static final String TYPE_LOCAL_NAME
      Local name of the XSI type.
      See Also:
      Constant Field Values
    • TYPE_NAME

      static final QName TYPE_NAME
      QName of the XSI type.
    • FORMAT_ATTRIB_NAME

      static final String FORMAT_ATTRIB_NAME
      Format attribute name.
      See Also:
      Constant Field Values
    • SP_NAME_QUALIFIER_ATTRIB_NAME

      static final String SP_NAME_QUALIFIER_ATTRIB_NAME
      SPNameQualifier attribute name.
      See Also:
      Constant Field Values
    • ALLOW_CREATE_ATTRIB_NAME

      static final String ALLOW_CREATE_ATTRIB_NAME
      AllowCreate attribute name.
      See Also:
      Constant Field Values
  • Method Details

    • getFormat

      String getFormat()
      Gets the format of the NameIDPolicy.
      Returns:
      the format of the NameIDPolicy
    • setFormat

      void setFormat​(String newFormat)
      Sets the format of the NameIDPolicy.
      Parameters:
      newFormat - the format of the NameIDPolicy
    • getSPNameQualifier

      String getSPNameQualifier()
      Gets the SPNameQualifier value.
      Returns:
      the SPNameQualifier value
    • setSPNameQualifier

      void setSPNameQualifier​(String newSPNameQualifier)
      Sets the SPNameQualifier value.
      Parameters:
      newSPNameQualifier - the SPNameQualifier value
    • getAllowCreate

      Boolean getAllowCreate()
      Gets the AllowCreate value.
      Returns:
      the AllowCreate value
    • getAllowCreateXSBoolean

      XSBooleanValue getAllowCreateXSBoolean()
      Gets the AllowCreate value.
      Returns:
      the AllowCreate value
    • setAllowCreate

      void setAllowCreate​(Boolean newAllowCreate)
      Sets the AllowCreate value. Boolean values will be marshalled to either "true" or "false".
      Parameters:
      newAllowCreate - the AllowCreate value
    • setAllowCreate

      void setAllowCreate​(XSBooleanValue newAllowCreate)
      Sets the AllowCreate value.
      Parameters:
      newAllowCreate - the AllowCreate value