Package org.opensaml.saml.saml2.core
Interface SubjectConfirmation
- All Superinterfaces:
SAMLObject,XMLObject
- All Known Implementing Classes:
SubjectConfirmationImpl
SAML 2.0 Core SubjectConfirmation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringElement local name.static final QNameDefault element name.static final StringMethod attribute name.static final StringURI for the Bearer subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:bearer".static final StringURI for the Holder of Key subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:holder-of-key".static final StringURI for the Sender Vouches subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:sender-vouches".static final StringLocal name of the XSI type.static final QNameQName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionGets the base identifier of the principal for this request.Gets the encrypted name identifier of the principal for this request.Get the method used to confirm this subject.Gets the name identifier of the principal for this request.Gets the data about how this subject was confirmed or constraints on the confirmation.voidSets the base identifier of the principal for this request.voidsetEncryptedID(EncryptedID newEncryptedID) Sets the encrypted name identifier of the principal for this request.voidSets the method used to confirm this subject.voidSets 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, ensureDOM, 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 Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
METHOD_ATTRIB_NAME
Method attribute name.- See Also:
-
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:
-
METHOD_SENDER_VOUCHES
URI for the Sender Vouches subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:sender-vouches".- See Also:
-
METHOD_BEARER
URI for the Bearer subject confirmation method, "urn:oasis:names:tc:SAML:2.0:cm:bearer".- See Also:
-
-
Method Details
-
getMethod
Get the method used to confirm this subject.- Returns:
- the method used to confirm this subject
-
setMethod
Sets the method used to confirm this subject.- Parameters:
newMethod- the method used to confirm this subject
-
getBaseID
Gets the base identifier of the principal for this request.- Returns:
- the base identifier of the principal for this request
-
setBaseID
Sets the base identifier of the principal for this request.- Parameters:
newBaseID- the base identifier of the principal for this request
-
getNameID
Gets the name identifier of the principal for this request.- Returns:
- the name identifier of the principal for this request
-
setNameID
Sets the name identifier of the principal for this request.- Parameters:
newNameID- the name identifier of the principal for this request
-
getEncryptedID
Gets the encrypted name identifier of the principal for this request.- Returns:
- the encrypted name identifier of the principal for this request
-
setEncryptedID
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
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
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
-