com.sun.identity.saml2.protocol
インタフェース NameIDPolicy


public interface NameIDPolicy

This interface defines methods to retrieve name identifier related properties.


メソッドの概要
 String getFormat()
          Returns the value of Format attribute.
 String getSPNameQualifier()
          Returns the value of the SPNameQualifier attribute.
 boolean isAllowCreate()
          Returns true if the identity provider is allowed to create a new identifier to represent the principal.
 boolean isMutable()
          Returns true if object is mutable.
 void makeImmutable()
          Makes this object immutable.
 void setAllowCreate(boolean allowCreate)
          Sets the value of AllowCreate attribute.
 void setFormat(String uri)
          Sets the value of the Format attribute.
 void setSPNameQualifier(String spNameQualifier)
          Sets the value of SPNameQualifier attribute.
 String toXMLString()
          Returns a String representation of this Object.
 String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a String representation of this object.
 

メソッドの詳細

getFormat

String getFormat()
Returns the value of Format attribute.

戻り値:
the value of Format attribute.
関連項目:
NameIDPolicy.setFormat(String)

setFormat

void setFormat(String uri)
               throws SAML2Exception
Sets the value of the Format attribute.

パラメータ:
uri - the new value of Format attribute.
例外:
SAML2Exception - if the object is immutable.
関連項目:
NameIDPolicy.getFormat()

getSPNameQualifier

String getSPNameQualifier()
Returns the value of the SPNameQualifier attribute.

戻り値:
the value of SPNameQualifier attribute.
関連項目:
NameIDPolicy.setSPNameQualifier(String)

setSPNameQualifier

void setSPNameQualifier(String spNameQualifier)
                        throws SAML2Exception
Sets the value of SPNameQualifier attribute.

パラメータ:
spNameQualifier - new value of SPNameQualifier attribute.
例外:
SAML2Exception - if the object is immutable.
関連項目:
NameIDPolicy.getSPNameQualifier()

setAllowCreate

void setAllowCreate(boolean allowCreate)
                    throws SAML2Exception
Sets the value of AllowCreate attribute.

パラメータ:
allowCreate - the new value of AllowCreate attribute.
例外:
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.

戻り値:
value of AllowCreate attribute.

toXMLString

String toXMLString()
                   throws SAML2Exception
Returns a String representation of this Object.

戻り値:
String representation of this Object.
例外:
SAML2Exception - if cannot create String object.

toXMLString

String toXMLString(boolean includeNSPrefix,
                   boolean declareNS)
                   throws SAML2Exception
Returns a String representation of this object.

パラメータ:
includeNSPrefix - determines whether or not the namespace qualifier is prepended to the Element when converted
declareNS - determines whether or not the namespace is declared within the Element.
戻り値:
String representation of this Object.
例外:
SAML2Exception - if cannot create String object.

makeImmutable

void makeImmutable()
Makes this object immutable.


isMutable

boolean isMutable()
Returns true if object is mutable.

戻り値:
true if object is mutable.