Package com.sun.identity.saml2.assertion
Interface SubjectConfirmation
-
- All Known Implementing Classes:
SubjectConfirmationImpl
public interface SubjectConfirmationTheSubjectConfirmationprovides 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 BaseIDgetBaseID()Returns the base IDEncryptedIDgetEncryptedID()Returns the encrypted IDStringgetMethod()Returns the confirmation methodNameIDgetNameID()Returns the name identifierSubjectConfirmationDatagetSubjectConfirmationData()Returns the subject confirmation databooleanisMutable()Returns true if the object is mutablevoidmakeImmutable()Makes the object immutablevoidsetBaseID(BaseID value)Sets the base IDvoidsetEncryptedID(EncryptedID value)Sets the encrypted IDvoidsetMethod(String value)Sets the confirmation methodvoidsetNameID(NameID value)Sets the name identifiervoidsetSubjectConfirmationData(SubjectConfirmationData value)Sets the subject confirmation dataStringtoXMLString()Returns a String representationStringtoXMLString(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
-
-