com.sun.xml.wss.saml.assertion.saml20.jaxb20
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.
| Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType |
getAddress, getContent, getInResponseTo, getNotBefore, getNotOnOrAfter, getOtherAttributes, getRecipient, setAddress, setInResponseTo, setNotBefore, setNotOnOrAfter, setRecipient |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyInfoKeyValue
protected PublicKey keyInfoKeyValue
log
protected static final Logger log
SubjectConfirmationData
public SubjectConfirmationData()
SubjectConfirmationData
public SubjectConfirmationData(String address,
String inResponseTo,
GregorianCalendar notBefore,
GregorianCalendar notOnOrAfter,
String recipient,
Element keyInfo)
throws SAMLException
- Constructs an
SubjectConfirmationData instance.
- Parameters:
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.SubjectConfirmationDataData - Additional authentication information to
be used by a specific authentication protocol. Can be passed as
null if there is no SubjectConfirmationDataData for the
SubjectConfirmationData object.keyInfo - An XML signature element that specifies a cryptographic
key held by the Subject.
- Throws:
SAMLException - if the input data is invalid or
confirmationMethods is empty.
SubjectConfirmationData
public SubjectConfirmationData(SubjectConfirmationDataType subConfDataType)
fromElement
public static SubjectConfirmationDataType fromElement(Element element)
throws SAMLException
- Constructs a subject confirmation element from an existing
XML block.
- Parameters:
SubjectConfirmationDataElement - a DOM Element representing the
SubjectConfirmationData object.
- Throws:
SAMLException
getNotBeforeDate
public Date getNotBeforeDate()
- Description copied from interface:
SubjectConfirmationData
- Gets the value of the notBefore property.
- Specified by:
getNotBeforeDate in interface SubjectConfirmationData
- Returns:
- object is
Date
getNotOnOrAfterDate
public Date getNotOnOrAfterDate()
- Description copied from interface:
SubjectConfirmationData
- Gets the value of the notOnOrAfter property.
- Specified by:
getNotOnOrAfterDate in interface SubjectConfirmationData
- Returns:
- object is
Date
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.