org.keycloak.saml.processing.core.saml.v2.common

## Class SAMLDocumentHolder

- java.lang.Object
- - org.keycloak.saml.processing.core.saml.v2.common.SAMLDocumentHolder

-     public class SAMLDocumentHolder
      extends Object

  A Holder class that can store the SAML object as well as the corresponding DOM object. Users of this class need to make it threadsafe by having one instance per thread (ThreadLocal)
  Since:
    Aug 13, 2009
  Author:
    Anil.Saldhana@redhat.com

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SAMLDocumentHolder(Document samlDocument)`
    `SAMLDocumentHolder(SAML2Object samlObject)`
    `SAMLDocumentHolder(SAML2Object samlObject, Document samlDocument)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Document` | `getSamlDocument()`
    `SAML2Object` | `getSamlObject()`
    `void` | `setSamlDocument(Document samlDocument)`
    `void` | `setSamlObject(SAML2Object samlObject)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SAMLDocumentHolder

          public SAMLDocumentHolder(SAML2Object samlObject)

    - #### SAMLDocumentHolder

          public SAMLDocumentHolder(Document samlDocument)

    - #### SAMLDocumentHolder

          public SAMLDocumentHolder(SAML2Object samlObject,
                                    Document samlDocument)

  - ### Method Detail

    - #### getSamlObject

          public SAML2Object getSamlObject()

    - #### setSamlObject

          public void setSamlObject(SAML2Object samlObject)

    - #### getSamlDocument

          public Document getSamlDocument()

    - #### setSamlDocument

          public void setSamlDocument(Document samlDocument)

Copyright © 2016 JBoss by Red Hat. All rights reserved.