be.ehealth.technicalconnector.service.sts

## Class SAMLTokenFactory

- java.lang.Object
- - be.ehealth.technicalconnector.service.sts.SAMLTokenFactory

-     public final class SAMLTokenFactory
      extends Object

  A factory for creating SAMLToken objects.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SAMLToken` | `createSamlToken(Element assertion, Credential credential)` Creates a new SAMLToken object.
    `SAMLToken` | `createSamlToken(SAMLToken.Version version, Element assertion, Credential credential)`
    `static SAMLTokenFactory` | `getInstance()` Gets the single instance of SAMLTokenFactory.

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

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

- - ### Method Detail

    - #### getInstance

          public static SAMLTokenFactory getInstance()

      Gets the single instance of SAMLTokenFactory.
      Returns:
        single instance of SAMLTokenFactory

    - #### createSamlToken

          public SAMLToken createSamlToken(Element assertion,
                                           Credential credential)
                                    throws TechnicalConnectorException

      Creates a new SAMLToken object.
      Parameters:
        `assertion` - the assertion
        `credential` - the credential
      Returns:
        the SAML token
      Throws:
        `TechnicalConnectorException`

    - #### createSamlToken

          public SAMLToken createSamlToken(SAMLToken.Version version,
                                           Element assertion,
                                           Credential credential)

Connector Packaging PERSOCCUPATIONALTHERAPIST 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.