public interface Subject
Subject
specifies the principal that is the subject
of all of the statements in the assertion. It contains an identifier,
a series of one or more subject confirmations, or both.Modifier and Type | Method and Description |
---|---|
BaseID |
getBaseID()
Returns the identifier in
BaseID format |
EncryptedID |
getEncryptedID()
Returns the encrypted identifier
|
NameID |
getNameID()
Returns the identifier in
NameID format |
List<SubjectConfirmation> |
getSubjectConfirmation()
Returns a list of subject confirmations
|
boolean |
isMutable()
Returns true if the object is mutable
|
void |
makeImmutable()
Makes the object immutable
|
void |
setBaseID(BaseID value)
Sets the identifier in
BaseID format |
void |
setEncryptedID(EncryptedID value)
Sets the encrypted identifier
|
void |
setNameID(NameID value)
Sets the identifier in
NameID format |
void |
setSubjectConfirmation(List<SubjectConfirmation> confirmations)
Sets a list of subject confirmations
|
String |
toXMLString()
Returns a String representation
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation
|
EncryptedID getEncryptedID()
void setEncryptedID(EncryptedID value) throws SAML2Exception
value
- the encrypted identifierSAML2Exception
- if the object is immutableNameID getNameID()
NameID
formatNameID
formatvoid setNameID(NameID value) throws SAML2Exception
NameID
formatvalue
- the identifier in NameID
formatSAML2Exception
- if the object is immutableList<SubjectConfirmation> getSubjectConfirmation()
void setSubjectConfirmation(List<SubjectConfirmation> confirmations) throws SAML2Exception
confirmations
- a list of subject confirmationsSAML2Exception
- if the object is immutableBaseID getBaseID()
BaseID
formatBaseID
formatvoid setBaseID(BaseID value) throws SAML2Exception
BaseID
formatvalue
- the identifier in BaseID
formatSAML2Exception
- if the object is immutableString 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 something is wrong during conversionString toXMLString() throws SAML2Exception
SAML2Exception
- if something is wrong during conversionvoid makeImmutable()
boolean isMutable()
Copyright © 2010-2018, ForgeRock All Rights Reserved.