public class SubjectConfirmation extends com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectConfirmationImpl implements SubjectConfirmation
SubjectConfirmation element specifies a subject by specifying data that
authenticates the subject.com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectConfirmationImpl.Unmarshaller| Modifier and Type | Field and Description |
|---|---|
protected PublicKey |
keyInfoKeyValue |
protected static Logger |
log |
version_ConfirmationMethod, _KeyInfo, _SubjectConfirmationData| Constructor and Description |
|---|
SubjectConfirmation() |
SubjectConfirmation(List confirmationMethods,
Element subjectConfirmationData,
Element keyInfo)
Constructs an
SubjectConfirmation instance. |
SubjectConfirmation(String confirmationMethod)
From scratch constructor for a single confirmation method.
|
SubjectConfirmation(com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectConfirmationType subConfType) |
| Modifier and Type | Method and Description |
|---|---|
static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectConfirmationTypeImpl |
fromElement(Element element)
Constructs a subject confirmation element from an existing
XML block.
|
List<String> |
getConfirmationMethod()
Gets the value of the confirmationMethod property.
|
NameID |
getNameId()
Gets the value of the nameID property for SAML 2.0
|
Object |
getSubjectConfirmationDataForSAML11()
Gets the value of the subjectConfirmationData property for SAML 1.1 and SAML 1.0.
|
SubjectConfirmationData |
getSubjectConfirmationDataForSAML20()
Gets the value of the subjectConfirmationData property for SAML 2.0
|
void |
setConfirmationMethod(List confirmationMethod) |
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs_getConfirmationMethod, getKeyInfo, getSubjectConfirmationData, setKeyInfo, setSubjectConfirmationDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKeyInfo, getSubjectConfirmationData, setKeyInfo, setSubjectConfirmationDataprotected PublicKey keyInfoKeyValue
protected static final Logger log
public SubjectConfirmation()
public SubjectConfirmation(String confirmationMethod)
confirmationMethod - A URI (String) that identifies a protocol used
to authenticate a Subject. Please refer to
draft-sstc-core-25 Section 7 for a list of URIs
identifying common authentication protocols.SAMLException - if the input data is null.public SubjectConfirmation(com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectConfirmationType subConfType)
public SubjectConfirmation(List confirmationMethods, Element subjectConfirmationData, Element keyInfo) throws SAMLException
SubjectConfirmation instance.confirmationMethods - A set of confirmationMethods
each of which is a URI (String) that identifies a protocol
used to authenticate a Subject. Please refer to
draft-sstc-core-25 Section 7 for
a list of URIs identifying common authentication protocols.subjectConfirmationData - Additional authentication information to
be used by a specific authentication protocol. Can be passed as
null if there is no subjectConfirmationData for the
SubjectConfirmation object.keyInfo - An XML signature element that specifies a cryptographic
key held by the Subject.SAMLException - if the input data is invalid or
confirmationMethods is empty.public void setConfirmationMethod(List confirmationMethod)
public static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectConfirmationTypeImpl fromElement(Element element) throws SAMLException
element - a DOM Element representing the
SubjectConfirmation object.SAMLExceptionpublic Object getSubjectConfirmationDataForSAML11()
SubjectConfirmationObjectpublic SubjectConfirmationData getSubjectConfirmationDataForSAML20()
SubjectConfirmationSubjectConfirmationDatapublic NameID getNameId()
SubjectConfirmationNameIDpublic List<String> getConfirmationMethod()
SubjectConfirmationgetConfirmationMethod in interface com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectConfirmationTypegetConfirmationMethod in class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectConfirmationTypeImplStringCopyright © 2005–2017 Oracle Corporation. All rights reserved.