Class SubjectConfirmation

java.lang.Object
com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectConfirmationType
com.sun.xml.wss.saml.assertion.saml11.jaxb20.SubjectConfirmation
All Implemented Interfaces:
SubjectConfirmation

public class SubjectConfirmation extends SubjectConfirmationType implements SubjectConfirmation
The SubjectConfirmation element specifies a subject by specifying data that authenticates the subject.
  • Field Details

    • keyInfoKeyValue

      protected PublicKey keyInfoKeyValue
    • log

      protected static final Logger log
  • Constructor Details

    • SubjectConfirmation

      public SubjectConfirmation()
    • SubjectConfirmation

      public SubjectConfirmation(String confirmationMethod)
      From scratch constructor for a single confirmation method.
      Parameters:
      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.
    • SubjectConfirmation

      public SubjectConfirmation(List confirmationMethods, Element subjectConfirmationData, Element keyInfo) throws SAMLException
      Constructs an SubjectConfirmation 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.
      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.
      Throws:
      SAMLException - if the input data is invalid or confirmationMethods is empty.
    • SubjectConfirmation

      public SubjectConfirmation(SubjectConfirmationType subConfType)
  • Method Details