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.
    `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)

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

Connector Packaging PERSOCCUPATIONALTHERAPIST 4.8.4 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.