|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NameIDPolicy
This interface defines methods to retrieve name identifier related properties.
Method Summary | |
---|---|
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. |
Method Detail |
---|
String getFormat()
Format
attribute.
Format
attribute.NameIDPolicy.setFormat(String)
void setFormat(String uri) throws SAML2Exception
Format
attribute.
uri
- the new value of Format
attribute.
SAML2Exception
- if the object is immutable.NameIDPolicy.getFormat()
String getSPNameQualifier()
SPNameQualifier
attribute.
SPNameQualifier
attribute.NameIDPolicy.setSPNameQualifier(String)
void setSPNameQualifier(String spNameQualifier) throws SAML2Exception
SPNameQualifier
attribute.
spNameQualifier
- new value of SPNameQualifier
attribute.
SAML2Exception
- if the object is immutable.NameIDPolicy.getSPNameQualifier()
void setAllowCreate(boolean allowCreate) throws SAML2Exception
AllowCreate
attribute.
allowCreate
- the new value of AllowCreate
attribute.
SAML2Exception
- if the object is immutable.boolean isAllowCreate()
AllowCreate
attribute.String toXMLString() throws SAML2Exception
SAML2Exception
- if cannot create String object.String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
includeNSPrefix
- determines whether or not the namespace
qualifier is prepended to the Element when converteddeclareNS
- determines whether or not the namespace is declared
within the Element.
SAML2Exception
- if cannot create String object.void makeImmutable()
boolean isMutable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |