Class NameIDPolicyImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.saml2.core.NameIDPolicy

    public class NameIDPolicyImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.saml.saml2.core.NameIDPolicy
    Concrete implementation of NameIDPolicy.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.schema.XSBooleanValue allowCreate
      NameID Format URI.
      private String format
      NameID Format URI.
      private String spNameQualifier
      NameID Format URI.
      • Fields inherited from interface org.opensaml.saml.saml2.core.NameIDPolicy

        ALLOW_CREATE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, FORMAT_ATTRIB_NAME, SP_NAME_QUALIFIER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected NameIDPolicyImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Boolean getAllowCreate()
      org.opensaml.core.xml.schema.XSBooleanValue getAllowCreateXSBoolean()
      String getFormat()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getSPNameQualifier()
      void setAllowCreate​(Boolean newAllowCreate)
      void setAllowCreate​(org.opensaml.core.xml.schema.XSBooleanValue newAllowCreate)
      void setFormat​(String newFormat)
      void setSPNameQualifier​(String newSPNameQualifier)
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • format

        private String format
        NameID Format URI.
      • spNameQualifier

        private String spNameQualifier
        NameID Format URI.
      • allowCreate

        private org.opensaml.core.xml.schema.XSBooleanValue allowCreate
        NameID Format URI.
    • Constructor Detail

      • 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 Detail

      • getFormat

        public String getFormat()
        Specified by:
        getFormat in interface org.opensaml.saml.saml2.core.NameIDPolicy
      • setFormat

        public void setFormat​(String newFormat)
        Specified by:
        setFormat in interface org.opensaml.saml.saml2.core.NameIDPolicy
      • getSPNameQualifier

        public String getSPNameQualifier()
        Specified by:
        getSPNameQualifier in interface org.opensaml.saml.saml2.core.NameIDPolicy
      • setSPNameQualifier

        public void setSPNameQualifier​(String newSPNameQualifier)
        Specified by:
        setSPNameQualifier in interface org.opensaml.saml.saml2.core.NameIDPolicy
      • getAllowCreate

        public Boolean getAllowCreate()
        Specified by:
        getAllowCreate in interface org.opensaml.saml.saml2.core.NameIDPolicy
      • getAllowCreateXSBoolean

        public org.opensaml.core.xml.schema.XSBooleanValue getAllowCreateXSBoolean()
        Specified by:
        getAllowCreateXSBoolean in interface org.opensaml.saml.saml2.core.NameIDPolicy
      • setAllowCreate

        public void setAllowCreate​(Boolean newAllowCreate)
        Specified by:
        setAllowCreate in interface org.opensaml.saml.saml2.core.NameIDPolicy
      • setAllowCreate

        public void setAllowCreate​(org.opensaml.core.xml.schema.XSBooleanValue newAllowCreate)
        Specified by:
        setAllowCreate in interface org.opensaml.saml.saml2.core.NameIDPolicy
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject