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 ofFormat
attribute.Returns the value of theSPNameQualifier
attribute.boolean
Returns true if the identity provider is allowed to create a new identifier to represent the principal.boolean
Returns true if object is mutable.void
Makes this object immutable.void
setAllowCreate
(boolean allowCreate) Sets the value ofAllowCreate
attribute.void
Sets the value of theFormat
attribute.void
setSPNameQualifier
(String spNameQualifier) Sets the value ofSPNameQualifier
attribute.Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getFormat
String getFormat()Returns the value ofFormat
attribute.- Returns:
- the value of
Format
attribute. - See Also:
-
setFormat
Sets the value of theFormat
attribute.- Parameters:
uri
- the new value ofFormat
attribute.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-
getSPNameQualifier
String getSPNameQualifier()Returns the value of theSPNameQualifier
attribute.- Returns:
- the value of
SPNameQualifier
attribute. - See Also:
-
setSPNameQualifier
Sets the value ofSPNameQualifier
attribute.- Parameters:
spNameQualifier
- new value ofSPNameQualifier
attribute.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-
setAllowCreate
void setAllowCreate(boolean allowCreate) throws com.sun.identity.saml2.common.SAML2Exception Sets the value ofAllowCreate
attribute.- Parameters:
allowCreate
- the new value ofAllowCreate
attribute.- Throws:
com.sun.identity.saml2.common.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
AllowCreate
attribute.
-
makeImmutable
void makeImmutable()Makes this object immutable. -
isMutable
boolean isMutable()Returns true if object is mutable.- Returns:
- true if object is mutable.
-