Class NameIDPolicyImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.NameIDPolicyImpl
All Implemented Interfaces:
XMLObject, SAMLObject, NameIDPolicy

public class NameIDPolicyImpl
extends AbstractXMLObject
implements NameIDPolicy
Concrete implementation of NameIDPolicy.
  • Field Details

    • format

      private String format
      NameID Format URI.
    • spNameQualifier

      private String spNameQualifier
      NameID Format URI.
    • allowCreate

      private XSBooleanValue allowCreate
      NameID Format URI.
  • Constructor Details

    • NameIDPolicyImpl

      protected NameIDPolicyImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getFormat

      public String getFormat()
      Gets the format of the NameIDPolicy.
      Specified by:
      getFormat in interface NameIDPolicy
      Returns:
      the format of the NameIDPolicy
    • setFormat

      public void setFormat​(String newFormat)
      Sets the format of the NameIDPolicy.
      Specified by:
      setFormat in interface NameIDPolicy
      Parameters:
      newFormat - the format of the NameIDPolicy
    • getSPNameQualifier

      public String getSPNameQualifier()
      Gets the SPNameQualifier value.
      Specified by:
      getSPNameQualifier in interface NameIDPolicy
      Returns:
      the SPNameQualifier value
    • setSPNameQualifier

      public void setSPNameQualifier​(String newSPNameQualifier)
      Sets the SPNameQualifier value.
      Specified by:
      setSPNameQualifier in interface NameIDPolicy
      Parameters:
      newSPNameQualifier - the SPNameQualifier value
    • getAllowCreate

      public Boolean getAllowCreate()
      Gets the AllowCreate value.
      Specified by:
      getAllowCreate in interface NameIDPolicy
      Returns:
      the AllowCreate value
    • getAllowCreateXSBoolean

      public XSBooleanValue getAllowCreateXSBoolean()
      Gets the AllowCreate value.
      Specified by:
      getAllowCreateXSBoolean in interface NameIDPolicy
      Returns:
      the AllowCreate value
    • setAllowCreate

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

      public void setAllowCreate​(XSBooleanValue newAllowCreate)
      Sets the AllowCreate value.
      Specified by:
      setAllowCreate in interface NameIDPolicy
      Parameters:
      newAllowCreate - the AllowCreate value
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements