fr.paris.lutece.portal.service.security
Interface ISecurityTokenService

All Known Implementing Classes:
SecurityTokenService

public interface ISecurityTokenService

Interface wich provides a security service for getting and verify tokens


Method Summary
 String getToken(javax.servlet.http.HttpServletRequest request, String strActionType)
          return a security token
 boolean validate(javax.servlet.http.HttpServletRequest request, String StrActionType)
          verify if the request contains the securiy token
 

Method Detail

getToken

String getToken(javax.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(javax.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


Copyright © 2014 Mairie de Paris. All rights reserved.