be.ehealth.technicalconnector.validator.impl

## Class SAMLSessionValidator

- java.lang.Object
- - be.ehealth.technicalconnector.validator.impl.SAMLSessionValidator

- All Implemented Interfaces:
    SessionValidator

      public class SAMLSessionValidator
      extends Object
      implements SessionValidator

  Implementation of `SessionValidator`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SAMLSessionValidator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `validateSession()` Validate session.
    `boolean` | `validateToken(SAMLToken samlToken)` Method to check if the provided `SAMLToken` is still valid.

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

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

- - ### Constructor Detail

    - #### SAMLSessionValidator

          public SAMLSessionValidator()

  - ### Method Detail

    - #### validateSession

          public boolean validateSession()
                                  throws SessionManagementException

      Description copied from interface: `SessionValidator`
      Validate session.
      Specified by:
        `validateSession` in interface `SessionValidator`
      Returns:
        true, if successful
      Throws:
        `SessionManagementException`

    - #### validateToken

          public boolean validateToken(SAMLToken samlToken)
                                throws SessionManagementException

      Description copied from interface: `SessionValidator`
      Method to check if the provided `SAMLToken` is still valid.
      Specified by:
        `validateToken` in interface `SessionValidator`
      Returns:
      Throws:
        `SessionManagementException`
      See Also:
        `be.ehealth.technicalconnector.validator.SessionValidator#validateSession(be.ehealth.technicalconnector.service.sts.security.SAMLToken)`

Connector Packaging PERSPHYSICIAN 4.4.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.