Package com.sun.identity.saml2.protocol
Interface NameIDPolicy
-
- All Superinterfaces:
XmlSerializable
@SupportedAll public interface NameIDPolicy extends XmlSerializable
This interface defines methods to retrieve name identifier related properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFormat()Returns the value ofFormatattribute.StringgetSPNameQualifier()Returns the value of theSPNameQualifierattribute.booleanisAllowCreate()Returns true if the identity provider is allowed to create a new identifier to represent the principal.booleanisMutable()Returns true if object is mutable.voidmakeImmutable()Makes this object immutable.voidsetAllowCreate(boolean allowCreate)Sets the value ofAllowCreateattribute.voidsetFormat(String uri)Sets 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 Detail
-
getFormat
String getFormat()
Returns the value ofFormatattribute.- Returns:
- the value of
Formatattribute. - See Also:
setFormat(String)
-
setFormat
void setFormat(String uri) throws SAML2Exception
Sets the value of theFormatattribute.- Parameters:
uri- the new value ofFormatattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getFormat()
-
getSPNameQualifier
String getSPNameQualifier()
Returns the value of theSPNameQualifierattribute.- Returns:
- the value of
SPNameQualifierattribute. - See Also:
setSPNameQualifier(String)
-
setSPNameQualifier
void setSPNameQualifier(String spNameQualifier) throws SAML2Exception
Sets the value ofSPNameQualifierattribute.- Parameters:
spNameQualifier- new value ofSPNameQualifierattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getSPNameQualifier()
-
setAllowCreate
void setAllowCreate(boolean allowCreate) throws SAML2ExceptionSets 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.
-
-