com.sun.xml.wss.saml.assertion.saml20.jaxb20
Class SubjectConfirmationData

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
      extended by 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
protected  PublicKey keyInfoKeyValue
           
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
address, content, inResponseTo, notBefore, notOnOrAfter, recipient
 
Constructor Summary
SubjectConfirmationData()
           
SubjectConfirmationData(String address, String inResponseTo, GregorianCalendar notBefore, GregorianCalendar notOnOrAfter, String recipient, Element keyInfo)
          Constructs an SubjectConfirmationData instance.
SubjectConfirmationData(SubjectConfirmationDataType subConfDataType)
           
 
Method Summary
static SubjectConfirmationDataType fromElement(Element element)
          Constructs a subject confirmation element from an existing XML block.
 Date getNotBeforeDate()
          Gets the value of the notBefore property.
 Date getNotOnOrAfterDate()
          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, setRecipient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.wss.saml.SubjectConfirmationData
getAddress, getInResponseTo, getRecipient
 

Field Detail

keyInfoKeyValue

protected PublicKey keyInfoKeyValue

log

protected static final Logger log
Constructor Detail

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)
Method Detail

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.