public class SubjectConfirmation extends SubjectConfirmationType implements SubjectConfirmation
SubjectConfirmation element specifies a subject by specifying data that
authenticates the subject.| Modifier and Type | Field and Description |
|---|---|
protected PublicKey |
keyInfoKeyValue |
protected static Logger |
log |
baseID, encryptedID, method, nameID, subjectConfirmationData| Constructor and Description |
|---|
SubjectConfirmation() |
SubjectConfirmation(NameID nameID,
KeyInfoConfirmationData keyInfoConfirmationData,
String confirmationMethod) |
SubjectConfirmation(NameID nameID,
String method)
From scratch constructor for a single confirmation method.
|
SubjectConfirmation(NameID nameID,
SubjectConfirmationData subjectConfirmationData,
String confirmationMethod)
Constructs an
SubjectConfirmation instance. |
SubjectConfirmation(SubjectConfirmationType subConfType) |
| Modifier and Type | Method and Description |
|---|---|
static SubjectConfirmationType |
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
|
getBaseID, getEncryptedID, getMethod, getNameID, getSubjectConfirmationData, setBaseID, setEncryptedID, setMethod, setNameID, setSubjectConfirmationDataprotected PublicKey keyInfoKeyValue
protected static final Logger log
public SubjectConfirmation()
public SubjectConfirmation(NameID nameID, String method)
public SubjectConfirmation(NameID nameID, SubjectConfirmationData subjectConfirmationData, String confirmationMethod) throws SAMLException
SubjectConfirmation instance.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.SAMLException - if the input data is invalid or
confirmationMethods is empty.public SubjectConfirmation(NameID nameID, KeyInfoConfirmationData keyInfoConfirmationData, String confirmationMethod) throws SAMLException
SAMLExceptionpublic SubjectConfirmation(SubjectConfirmationType subConfType)
public static SubjectConfirmationType fromElement(Element element) throws SAMLException
element - a DOM Element representing the
SubjectConfirmation object.SAMLExceptionpublic List<String> getConfirmationMethod()
SubjectConfirmationgetConfirmationMethod in interface SubjectConfirmationStringpublic Object getSubjectConfirmationDataForSAML11()
SubjectConfirmationgetSubjectConfirmationDataForSAML11 in interface SubjectConfirmationObjectpublic SubjectConfirmationData getSubjectConfirmationDataForSAML20()
SubjectConfirmationgetSubjectConfirmationDataForSAML20 in interface SubjectConfirmationSubjectConfirmationDatapublic NameID getNameId()
SubjectConfirmationgetNameId in interface SubjectConfirmationNameIDCopyright © 2005–2018 Oracle Corporation. All rights reserved.