Package com.sun.identity.saml2.assertion
Interface Subject
- All Superinterfaces:
XmlSerializable
The
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.-
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier inBaseID
formatReturns the encrypted identifierReturns the identifier inNameID
formatReturns a list of subject confirmationsboolean
Returns true if the object is mutablevoid
Makes the object immutablevoid
Sets the identifier inBaseID
formatvoid
setEncryptedID
(EncryptedID value) Sets the encrypted identifiervoid
Sets the identifier inNameID
formatvoid
setSubjectConfirmation
(List<SubjectConfirmation> confirmations) Sets a list of subject confirmationsMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getEncryptedID
EncryptedID getEncryptedID()Returns the encrypted identifier- Returns:
- the encrypted identifier
-
setEncryptedID
Sets the encrypted identifier- Parameters:
value
- the encrypted identifier- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable
-
getNameID
NameID getNameID()Returns the identifier inNameID
format- Returns:
- the identifier in
NameID
format
-
setNameID
Sets the identifier inNameID
format- Parameters:
value
- the identifier inNameID
format- Throws:
com.sun.identity.saml2.common.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 com.sun.identity.saml2.common.SAML2Exception Sets a list of subject confirmations- Parameters:
confirmations
- a list of subject confirmations- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable
-
getBaseID
BaseID getBaseID()Returns the identifier inBaseID
format- Returns:
- the identifier in
BaseID
format
-
setBaseID
Sets the identifier inBaseID
format- Parameters:
value
- the identifier inBaseID
format- Throws:
com.sun.identity.saml2.common.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
-