Interface ISecurityTokenService

  • All Known Implementing Classes:
    SecurityTokenService

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getToken​(javax.servlet.http.HttpServletRequest request, java.lang.String strActionType)
      return a security token
      boolean validate​(javax.servlet.http.HttpServletRequest request, java.lang.String strActionType)
      verify if the request contains the securiy token
    • Method Detail

      • getToken

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

        boolean validate​(javax.servlet.http.HttpServletRequest request,
                         java.lang.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