Class SubjectConfirmationData
java.lang.Object
com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
com.sun.xml.wss.saml.assertion.saml20.jaxb20.SubjectConfirmationData
- All Implemented Interfaces:
SubjectConfirmationData
public class SubjectConfirmationData
extends SubjectConfirmationDataType
implements SubjectConfirmationData
The
SubjectConfirmationData element specifies a subject by specifying data that
authenticates the subject.-
Field Summary
FieldsFields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
address, content, inResponseTo, notBefore, notOnOrAfter, recipient -
Constructor Summary
ConstructorsConstructorDescriptionSubjectConfirmationData(SubjectConfirmationDataType subConfDataType) SubjectConfirmationData(String address, String inResponseTo, GregorianCalendar notBefore, GregorianCalendar notOnOrAfter, String recipient, Element keyInfo) Constructs anSubjectConfirmationDatainstance. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectConfirmationDataTypefromElement(Element element) Constructs a subject confirmation element from an existing XML block.Gets the value of the notBefore property.Gets the value of the notOnOrAfter property.Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
getAddress, getContent, getInResponseTo, getNotBefore, getNotOnOrAfter, getOtherAttributes, getRecipient, setAddress, setInResponseTo, setNotBefore, setNotOnOrAfter, setRecipientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.wss.saml.SubjectConfirmationData
getAddress, getInResponseTo, getRecipient
-
Field Details
-
keyInfoKeyValue
-
log
-
-
Constructor Details
-
SubjectConfirmationData
public SubjectConfirmationData() -
SubjectConfirmationData
public SubjectConfirmationData(String address, String inResponseTo, GregorianCalendar notBefore, GregorianCalendar notOnOrAfter, String recipient, Element keyInfo) throws SAMLException Constructs anSubjectConfirmationDatainstance.- Parameters:
keyInfo- An XML signature element that specifies a cryptographic key held by theSubject.- Throws:
SAMLException- if the input data is invalid orconfirmationMethodsis empty.
-
SubjectConfirmationData
-
-
Method Details
-
fromElement
Constructs a subject confirmation element from an existing XML block.- Parameters:
element- a DOM Element representing theSubjectConfirmationDataobject.- Throws:
SAMLException
-
getNotBeforeDate
Description copied from interface:SubjectConfirmationDataGets the value of the notBefore property.- Specified by:
getNotBeforeDatein interfaceSubjectConfirmationData- Returns:
- object is
Date
-
getNotOnOrAfterDate
Description copied from interface:SubjectConfirmationDataGets the value of the notOnOrAfter property.- Specified by:
getNotOnOrAfterDatein interfaceSubjectConfirmationData- Returns:
- object is
Date
-