Package org.opensaml.saml.saml2.core
Interface NameIDPolicy
- All Superinterfaces:
SAMLObject
,XMLObject
- All Known Implementing Classes:
NameIDPolicyImpl
SAML 2.0 Core NameIDPolicy.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
AllowCreate attribute name.static final String
Element local name.static final QName
Default element name.static final String
Format attribute name.static final String
SPNameQualifier attribute name.static final String
Local name of the XSI type.static final QName
QName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionGets the AllowCreate value.Gets the AllowCreate value.Gets the format of the NameIDPolicy.Gets the SPNameQualifier value.void
setAllowCreate
(Boolean newAllowCreate) Sets the AllowCreate value.void
setAllowCreate
(XSBooleanValue newAllowCreate) Sets the AllowCreate value.void
Sets the format of the NameIDPolicy.void
setSPNameQualifier
(String newSPNameQualifier) Sets the SPNameQualifier value.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
FORMAT_ATTRIB_NAME
Format attribute name.- See Also:
-
SP_NAME_QUALIFIER_ATTRIB_NAME
SPNameQualifier attribute name.- See Also:
-
ALLOW_CREATE_ATTRIB_NAME
AllowCreate attribute name.- See Also:
-
-
Method Details
-
getFormat
String getFormat()Gets the format of the NameIDPolicy.- Returns:
- the format of the NameIDPolicy
-
setFormat
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
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
Sets the AllowCreate value. Boolean values will be marshalled to either "true" or "false".- Parameters:
newAllowCreate
- the AllowCreate value
-
setAllowCreate
Sets the AllowCreate value.- Parameters:
newAllowCreate
- the AllowCreate value
-