be.ehealth.technicalconnector.service.sts.security.impl

## Class AbstractSAMLToken

- java.lang.Object
- - be.ehealth.technicalconnector.service.sts.security.impl.AbstractExtendedCredential
  - - be.ehealth.technicalconnector.service.sts.security.impl.AbstractSAMLToken

- All Implemented Interfaces:
    Credential, ExtendedCredential, SAMLToken
  Direct Known Subclasses:
    AbstractSAML11Token, AbstractSAML20Token

      public abstract class AbstractSAMLToken
      extends AbstractExtendedCredential
      implements SAMLToken

  Abstract class

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface be.ehealth.technicalconnector.service.sts.security.SAMLToken

      `SAMLToken.Version`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractSAMLToken(Element assertion, Credential credential)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `checkValidity()`
    `Element` | `getAssertion()` Gets the assertion.
    `X509Certificate` | `getCertificate()` Gets the certificate.
    `Certificate[]` | `getCertificateChain()` Gets the certificate chain
    `Credential` | `getCredential()`
    `String` | `getIssuer()` Gets the issuer.
    `String` | `getIssuerQualifier()` Gets the issuer qualifier.
    `KeyStore` | `getKeyStore()` Gets the associated `KeyStore`
    `PrivateKey` | `getPrivateKey()` Gets the private key.
    `String` | `getProviderName()` Gets the keystore provider
    `PublicKey` | `getPublicKey()` Gets the public key.

    - ### Methods inherited from class be.ehealth.technicalconnector.service.sts.security.impl.AbstractExtendedCredential

      `getCertPath, getExpirationDateTime`

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

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

    - ### Methods inherited from interface be.ehealth.technicalconnector.service.sts.security.SAMLToken

      `getAssertionID, getAttributes, getNotOnOrAfterCondition, getSamlVersion`

    - ### Methods inherited from interface be.ehealth.technicalconnector.service.sts.security.ExtendedCredential

      `getCertPath, getExpirationDateTime`

- - ### Constructor Detail

    - #### AbstractSAMLToken

          public AbstractSAMLToken(Element assertion,
                                   Credential credential)

  - ### Method Detail

    - #### getIssuer

          public String getIssuer()
                           throws TechnicalConnectorException

      Description copied from interface: `Credential`
      Gets the issuer.
      Specified by:
        `getIssuer` in interface `Credential`
      Throws:
        `TechnicalConnectorException`

    - #### getIssuerQualifier

          public String getIssuerQualifier()
                                    throws TechnicalConnectorException

      Description copied from interface: `Credential`
      Gets the issuer qualifier.
      Specified by:
        `getIssuerQualifier` in interface `Credential`
      Throws:
        `TechnicalConnectorException`

    - #### getPublicKey

          public PublicKey getPublicKey()
                                 throws TechnicalConnectorException

      Description copied from interface: `Credential`
      Gets the public key.
      Specified by:
        `getPublicKey` in interface `Credential`
      Throws:
        `TechnicalConnectorException`

    - #### getPrivateKey

          public PrivateKey getPrivateKey()
                                   throws TechnicalConnectorException

      Description copied from interface: `Credential`
      Gets the private key.
      Specified by:
        `getPrivateKey` in interface `Credential`
      Throws:
        `TechnicalConnectorException`

    - #### getCertificate

          public X509Certificate getCertificate()
                                         throws TechnicalConnectorException

      Description copied from interface: `Credential`
      Gets the certificate.
      Specified by:
        `getCertificate` in interface `Credential`
      Throws:
        `TechnicalConnectorException`

    - #### getCredential

          public Credential getCredential()

      Specified by:
        `getCredential` in interface `SAMLToken`

    - #### getAssertion

          public Element getAssertion()

      Description copied from interface: `SAMLToken`
      Gets the assertion.
      Specified by:
        `getAssertion` in interface `SAMLToken`
      Returns:
        the assertion

    - #### getProviderName

          public String getProviderName()

      Description copied from interface: `Credential`
      Gets the keystore provider
      Specified by:
        `getProviderName` in interface `Credential`

    - #### getCertificateChain

          public Certificate[] getCertificateChain()
                                            throws TechnicalConnectorException

      Description copied from interface: `Credential`
      Gets the certificate chain
      Specified by:
        `getCertificateChain` in interface `Credential`
      Throws:
        `TechnicalConnectorException`

    - #### getKeyStore

          public KeyStore getKeyStore()
                               throws TechnicalConnectorException

      Description copied from interface: `Credential`
      Gets the associated `KeyStore`
      Specified by:
        `getKeyStore` in interface `Credential`
      Throws:
        `TechnicalConnectorException`

    - #### checkValidity

          public void checkValidity()
                             throws TechnicalConnectorException

      Specified by:
        `checkValidity` in interface `SAMLToken`
      Throws:
        `TechnicalConnectorException`
      See Also:
        `SAMLToken.checkValidity()`

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