Package org.opensaml.saml.saml2.core
Interface NameIDPolicy
-
- All Superinterfaces:
SAMLObject,XMLObject
public interface NameIDPolicy extends SAMLObject
SAML 2.0 Core NameIDPolicy.
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLOW_CREATE_ATTRIB_NAMEAllowCreate attribute name.static StringDEFAULT_ELEMENT_LOCAL_NAMEElement local name.static QNameDEFAULT_ELEMENT_NAMEDefault element name.static StringFORMAT_ATTRIB_NAMEFormat attribute name.static StringSP_NAME_QUALIFIER_ATTRIB_NAMESPNameQualifier attribute name.static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleangetAllowCreate()Gets the AllowCreate value.XSBooleanValuegetAllowCreateXSBoolean()Gets the AllowCreate value.StringgetFormat()Gets the format of the NameIDPolicy.StringgetSPNameQualifier()Gets the SPNameQualifier value.voidsetAllowCreate(Boolean newAllowCreate)Sets the AllowCreate value.voidsetAllowCreate(XSBooleanValue newAllowCreate)Sets the AllowCreate value.voidsetFormat(String newFormat)Sets the format of the NameIDPolicy.voidsetSPNameQualifier(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 Detail
-
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 Detail
-
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
-
-