Package 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
  Description
  `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.

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

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

- ## Constructor Details

  - ### SAMLSessionValidator

    public SAMLSessionValidator()

- ## Method Details

  - ### 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`
    Parameters:
      `samlToken` -
    Returns:
    Throws:
      `SessionManagementException`
    See Also:
      - invalid reference

            be.ehealth.technicalconnector.validator.SessionValidator#validateSession(be.ehealth.technicalconnector.service.sts.security.SAMLToken)