Class NameIDPolicyImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.NameIDPolicyImpl
- All Implemented Interfaces:
XMLObject,SAMLObject,NameIDPolicy
Concrete implementation of
NameIDPolicy.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate XSBooleanValueNameID Format URI.private StringNameID Format URI.private StringNameID 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
ConstructorsModifierConstructorDescriptionprotectedNameIDPolicyImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the AllowCreate value.Gets the AllowCreate value.Gets the format of the NameIDPolicy.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the SPNameQualifier value.voidsetAllowCreate(Boolean newAllowCreate) Sets the AllowCreate value.voidsetAllowCreate(XSBooleanValue newAllowCreate) Sets the AllowCreate value.voidSets the format of the NameIDPolicy.voidsetSPNameQualifier(String newSPNameQualifier) Sets the SPNameQualifier value.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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 Details
-
format
NameID Format URI. -
spNameQualifier
NameID Format URI. -
allowCreate
NameID Format URI.
-
-
Constructor Details
-
NameIDPolicyImpl
protected NameIDPolicyImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Details
-
getFormat
Gets the format of the NameIDPolicy.- Specified by:
getFormatin interfaceNameIDPolicy- Returns:
- the format of the NameIDPolicy
-
setFormat
Sets the format of the NameIDPolicy.- Specified by:
setFormatin interfaceNameIDPolicy- Parameters:
newFormat- the format of the NameIDPolicy
-
getSPNameQualifier
Gets the SPNameQualifier value.- Specified by:
getSPNameQualifierin interfaceNameIDPolicy- Returns:
- the SPNameQualifier value
-
setSPNameQualifier
Sets the SPNameQualifier value.- Specified by:
setSPNameQualifierin interfaceNameIDPolicy- Parameters:
newSPNameQualifier- the SPNameQualifier value
-
getAllowCreate
Gets the AllowCreate value.- Specified by:
getAllowCreatein interfaceNameIDPolicy- Returns:
- the AllowCreate value
-
getAllowCreateXSBoolean
Gets the AllowCreate value.- Specified by:
getAllowCreateXSBooleanin interfaceNameIDPolicy- Returns:
- the AllowCreate value
-
setAllowCreate
Sets the AllowCreate value. Boolean values will be marshalled to either "true" or "false".- Specified by:
setAllowCreatein interfaceNameIDPolicy- Parameters:
newAllowCreate- the AllowCreate value
-
setAllowCreate
Sets the AllowCreate value.- Specified by:
setAllowCreatein interfaceNameIDPolicy- Parameters:
newAllowCreate- the AllowCreate value
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-