Package be.ehealth.technicalconnector.validator

# Interface SessionValidator

All Known Implementing Classes:
  `SAMLSessionValidator`

public interface SessionValidator
The Interface SessionValidator. Default impl : `SAMLSessionValidator`

- ## Method Summary

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

- ## Method Details

  - ### validateSession

    boolean validateSession() throws SessionManagementException
    Validate session.
    Returns:
      true, if successful
    Throws:
      `SessionManagementException`

  - ### validateToken

    boolean validateToken(SAMLToken samlToken) throws SessionManagementException
    Method to check if the provided `SAMLToken` is still valid.
    Parameters:
      `samlToken` -
    Returns:
    Throws:
      `SessionManagementException`