Package org.opensaml.saml.saml2.core
Interface SubjectConfirmation
-
- All Superinterfaces:
SAMLObject,XMLObject
public interface SubjectConfirmation extends SAMLObject
SAML 2.0 Core SubjectConfirmation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_ELEMENT_LOCAL_NAMEElement local name.static QNameDEFAULT_ELEMENT_NAMEDefault element name.static StringMETHOD_ATTRIB_NAMEMethod attribute name.static StringMETHOD_BEARERURI for the Bearer subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:bearer".static StringMETHOD_HOLDER_OF_KEYURI for the Holder of Key subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:holder-of-key".static StringMETHOD_SENDER_VOUCHESURI for the Sender Vouches subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:sender-vouches".static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BaseIDgetBaseID()Gets the base identifier of the principal for this request.EncryptedIDgetEncryptedID()Gets the encrypted name identifier of the principal for this request.StringgetMethod()Get the method used to confirm this subject.NameIDgetNameID()Gets the name identifier of the principal for this request.SubjectConfirmationDatagetSubjectConfirmationData()Gets the data about how this subject was confirmed or constraints on the confirmation.voidsetBaseID(BaseID newBaseID)Sets the base identifier of the principal for this request.voidsetEncryptedID(EncryptedID newEncryptedID)Sets the encrypted name identifier of the principal for this request.voidsetMethod(String newMethod)Sets the method used to confirm this subject.voidsetNameID(NameID newNameID)Sets the name identifier of the principal for this request.voidsetSubjectConfirmationData(SubjectConfirmationData newSubjectConfirmationData)Sets the data about how this subject was confirmed or constraints on the confirmation.-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
DEFAULT_ELEMENT_LOCAL_NAME
static final String DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_NAME
static final QName DEFAULT_ELEMENT_NAME
Default element name.
-
TYPE_LOCAL_NAME
static final String TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
TYPE_NAME
static final QName TYPE_NAME
QName of the XSI type.
-
METHOD_ATTRIB_NAME
static final String METHOD_ATTRIB_NAME
Method attribute name.- See Also:
- Constant Field Values
-
METHOD_HOLDER_OF_KEY
static final String METHOD_HOLDER_OF_KEY
URI for the Holder of Key subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:holder-of-key".- See Also:
- Constant Field Values
-
METHOD_SENDER_VOUCHES
static final String METHOD_SENDER_VOUCHES
URI for the Sender Vouches subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:sender-vouches".- See Also:
- Constant Field Values
-
METHOD_BEARER
static final String METHOD_BEARER
URI for the Bearer subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:bearer".- See Also:
- Constant Field Values
-
-
Method Detail
-
getMethod
String getMethod()
Get the method used to confirm this subject.- Returns:
- the method used to confirm this subject
-
setMethod
void setMethod(String newMethod)
Sets the method used to confirm this subject.- Parameters:
newMethod- the method used to confirm this subject
-
getBaseID
BaseID getBaseID()
Gets the base identifier of the principal for this request.- Returns:
- the base identifier of the principal for this request
-
setBaseID
void setBaseID(BaseID newBaseID)
Sets the base identifier of the principal for this request.- Parameters:
newBaseID- the base identifier of the principal for this request
-
getNameID
NameID getNameID()
Gets the name identifier of the principal for this request.- Returns:
- the name identifier of the principal for this request
-
setNameID
void setNameID(NameID newNameID)
Sets the name identifier of the principal for this request.- Parameters:
newNameID- the name identifier of the principal for this request
-
getEncryptedID
EncryptedID getEncryptedID()
Gets the encrypted name identifier of the principal for this request.- Returns:
- the encrypted name identifier of the principal for this request
-
setEncryptedID
void setEncryptedID(EncryptedID newEncryptedID)
Sets the encrypted name identifier of the principal for this request.- Parameters:
newEncryptedID- the new encrypted name identifier of the principal for this request
-
getSubjectConfirmationData
SubjectConfirmationData getSubjectConfirmationData()
Gets the data about how this subject was confirmed or constraints on the confirmation.- Returns:
- the data about how this subject was confirmed or constraints on the confirmation
-
setSubjectConfirmationData
void setSubjectConfirmationData(SubjectConfirmationData newSubjectConfirmationData)
Sets the data about how this subject was confirmed or constraints on the confirmation.- Parameters:
newSubjectConfirmationData- the data about how this subject was confirmed or constraints on the confirmation
-
-