Package com.sun.identity.saml2.assertion
Interface Subject
- 
- All Superinterfaces:
 XmlSerializable
@SupportedAll public interface Subject extends XmlSerializable
TheSubjectspecifies 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. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BaseIDgetBaseID()Returns the identifier inBaseIDformatEncryptedIDgetEncryptedID()Returns the encrypted identifierNameIDgetNameID()Returns the identifier inNameIDformatList<SubjectConfirmation>getSubjectConfirmation()Returns a list of subject confirmationsbooleanisMutable()Returns true if the object is mutablevoidmakeImmutable()Makes the object immutablevoidsetBaseID(BaseID value)Sets the identifier inBaseIDformatvoidsetEncryptedID(EncryptedID value)Sets the encrypted identifiervoidsetNameID(NameID value)Sets the identifier inNameIDformatvoidsetSubjectConfirmation(List<SubjectConfirmation> confirmations)Sets a list of subject confirmations- 
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getEncryptedID
EncryptedID getEncryptedID()
Returns the encrypted identifier- Returns:
 - the encrypted identifier
 
 
- 
setEncryptedID
void setEncryptedID(EncryptedID value) throws SAML2Exception
Sets the encrypted identifier- Parameters:
 value- the encrypted identifier- Throws:
 SAML2Exception- if the object is immutable
 
- 
getNameID
NameID getNameID()
Returns the identifier inNameIDformat- Returns:
 - the identifier in 
NameIDformat 
 
- 
setNameID
void setNameID(NameID value) throws SAML2Exception
Sets the identifier inNameIDformat- Parameters:
 value- the identifier inNameIDformat- Throws:
 SAML2Exception- if the object is immutable
 
- 
getSubjectConfirmation
List<SubjectConfirmation> getSubjectConfirmation()
Returns a list of subject confirmations- Returns:
 - a list of subject confirmations
 
 
- 
setSubjectConfirmation
void setSubjectConfirmation(List<SubjectConfirmation> confirmations) throws SAML2Exception
Sets a list of subject confirmations- Parameters:
 confirmations- a list of subject confirmations- Throws:
 SAML2Exception- if the object is immutable
 
- 
getBaseID
BaseID getBaseID()
Returns the identifier inBaseIDformat- Returns:
 - the identifier in 
BaseIDformat 
 
- 
setBaseID
void setBaseID(BaseID value) throws SAML2Exception
Sets the identifier inBaseIDformat- Parameters:
 value- the identifier inBaseIDformat- Throws:
 SAML2Exception- if the object is immutable
 
- 
makeImmutable
void makeImmutable()
Makes the object immutable 
- 
isMutable
boolean isMutable()
Returns true if the object is mutable- Returns:
 - true if the object is mutable
 
 
 - 
 
 -