Package com.sun.identity.saml2.protocol
Interface NameIDPolicy
- All Superinterfaces:
XmlSerializable
This interface defines methods to retrieve name identifier related
properties.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value ofFormatattribute.Returns the value of theSPNameQualifierattribute.booleanReturns true if the identity provider is allowed to create a new identifier to represent the principal.booleanReturns true if object is mutable.voidMakes this object immutable.voidsetAllowCreate(boolean allowCreate) Sets the value ofAllowCreateattribute.voidSets the value of theFormatattribute.voidsetSPNameQualifier(String spNameQualifier) Sets the value ofSPNameQualifierattribute.Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getFormat
String getFormat()Returns the value ofFormatattribute.- Returns:
- the value of
Formatattribute. - See Also:
-
setFormat
Sets the value of theFormatattribute.- Parameters:
uri- the new value ofFormatattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
getSPNameQualifier
String getSPNameQualifier()Returns the value of theSPNameQualifierattribute.- Returns:
- the value of
SPNameQualifierattribute. - See Also:
-
setSPNameQualifier
Sets the value ofSPNameQualifierattribute.- Parameters:
spNameQualifier- new value ofSPNameQualifierattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
setAllowCreate
Sets the value ofAllowCreateattribute.- Parameters:
allowCreate- the new value ofAllowCreateattribute.- Throws:
SAML2Exception- if the object is immutable.
-
isAllowCreate
boolean isAllowCreate()Returns true if the identity provider is allowed to create a new identifier to represent the principal.- Returns:
- value of
AllowCreateattribute.
-
makeImmutable
void makeImmutable()Makes this object immutable. -
isMutable
boolean isMutable()Returns true if object is mutable.- Returns:
- true if object is mutable.
-