Interface ISecurityTokenService

All Known Implementing Classes:
SecurityTokenService

public interface ISecurityTokenService
Interface wich provides a security service for getting and verify tokens
  • Method Summary

    Modifier and Type
    Method
    Description
    getToken(jakarta.servlet.http.HttpServletRequest request, String strActionType)
    return a security token
    boolean
    validate(jakarta.servlet.http.HttpServletRequest request, String strActionType)
    verify if the request contains the securiy token
  • Method Details

    • getToken

      String getToken(jakarta.servlet.http.HttpServletRequest request, String strActionType)
      return a security token
      Parameters:
      request - The Http request
      strActionType - the action type
      Returns:
      a security token
    • validate

      boolean validate(jakarta.servlet.http.HttpServletRequest request, String strActionType)
      verify if the request contains the securiy token
      Parameters:
      request - The Http request
      strActionType - the action type
      Returns:
      true if the request contains the security token associated to the action type