Package com.sun.identity.saml2.assertion
Interface SubjectConfirmation
-
@SupportedAll public interface SubjectConfirmation
TheSubjectConfirmation
provides the means for a relying party to verify the correspondence of the subject of the assertion with the party with whom the relying party is communicating.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BaseID
getBaseID()
Returns the base IDEncryptedID
getEncryptedID()
Returns the encrypted IDString
getMethod()
Returns the confirmation methodNameID
getNameID()
Returns the name identifierSubjectConfirmationData
getSubjectConfirmationData()
Returns the subject confirmation databoolean
isMutable()
Returns true if the object is mutablevoid
makeImmutable()
Makes the object immutablevoid
setBaseID(BaseID value)
Sets the base IDvoid
setEncryptedID(EncryptedID value)
Sets the encrypted IDvoid
setMethod(String value)
Sets the confirmation methodvoid
setNameID(NameID value)
Sets the name identifiervoid
setSubjectConfirmationData(SubjectConfirmationData value)
Sets the subject confirmation dataString
toXMLString()
Returns a String representationString
toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a String representation
-
-
-
Method Detail
-
getEncryptedID
EncryptedID getEncryptedID()
Returns the encrypted ID- Returns:
- the encrypted ID
-
setEncryptedID
void setEncryptedID(EncryptedID value) throws SAML2Exception
Sets the encrypted ID- Parameters:
value
- the encrypted ID- Throws:
SAML2Exception
- if the object is immutable
-
getSubjectConfirmationData
SubjectConfirmationData getSubjectConfirmationData()
Returns the subject confirmation data- Returns:
- the subject confirmation data
-
setSubjectConfirmationData
void setSubjectConfirmationData(SubjectConfirmationData value) throws SAML2Exception
Sets the subject confirmation data- Parameters:
value
- the subject confirmation data- Throws:
SAML2Exception
- if the object is immutable
-
getNameID
NameID getNameID()
Returns the name identifier- Returns:
- the name identifier
-
setNameID
void setNameID(NameID value) throws SAML2Exception
Sets the name identifier- Parameters:
value
- the name identifier- Throws:
SAML2Exception
- if the object is immutable
-
getBaseID
BaseID getBaseID()
Returns the base ID- Returns:
- the base ID
-
setBaseID
void setBaseID(BaseID value) throws SAML2Exception
Sets the base ID- Parameters:
value
- the base ID- Throws:
SAML2Exception
- if the object is immutable
-
getMethod
String getMethod()
Returns the confirmation method- Returns:
- the confirmation method
-
setMethod
void setMethod(String value) throws SAML2Exception
Sets the confirmation method- Parameters:
value
- the confirmation method- Throws:
SAML2Exception
- if the object is immutable
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation- Parameters:
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.- Returns:
- A String representation
- Throws:
SAML2Exception
- if something is wrong during conversion
-
toXMLString
String toXMLString() throws SAML2Exception
Returns a String representation- Returns:
- A String representation
- Throws:
SAML2Exception
- if something is wrong during conversion
-
makeImmutable
void makeImmutable()
Makes the object immutable
-
isMutable
boolean isMutable()
Returns true if the object is mutable- Returns:
- true if the object is mutable
-
-