|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationType
com.sun.xml.wss.saml.assertion.saml20.jaxb20.SubjectConfirmation
public class SubjectConfirmation
The SubjectConfirmation element specifies a subject by specifying data that
authenticates the subject.
| Field Summary | |
|---|---|
protected PublicKey |
keyInfoKeyValue
|
protected static Logger |
log
|
| Fields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationType |
|---|
baseID, encryptedID, method, nameID, subjectConfirmationData |
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationType |
|---|
getBaseID, getEncryptedID, getMethod, getNameID, getSubjectConfirmationData, setBaseID, setEncryptedID, setMethod, setNameID, setSubjectConfirmationData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PublicKey keyInfoKeyValue
protected static final Logger log
| Constructor Detail |
|---|
public SubjectConfirmation()
public SubjectConfirmation(NameID nameID,
String method)
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(NameID nameID,
SubjectConfirmationData subjectConfirmationData,
String confirmationMethod)
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 SubjectConfirmation(NameID nameID,
KeyInfoConfirmationData keyInfoConfirmationData,
String confirmationMethod)
throws SAMLException
SAMLExceptionpublic SubjectConfirmation(SubjectConfirmationType subConfType)
| Method Detail |
|---|
public static SubjectConfirmationType fromElement(Element element)
throws SAMLException
subjectConfirmationElement - a DOM Element representing the
SubjectConfirmation object.
SAMLExceptionpublic List<String> getConfirmationMethod()
SubjectConfirmation
getConfirmationMethod in interface SubjectConfirmationStringpublic Object getSubjectConfirmationDataForSAML11()
SubjectConfirmation
getSubjectConfirmationDataForSAML11 in interface SubjectConfirmationObjectpublic SubjectConfirmationData getSubjectConfirmationDataForSAML20()
SubjectConfirmation
getSubjectConfirmationDataForSAML20 in interface SubjectConfirmationSubjectConfirmationDatapublic NameID getNameId()
SubjectConfirmation
getNameId in interface SubjectConfirmationNameID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||