Class SecurityHeaderUtil

java.lang.Object
fr.paris.lutece.util.securityheader.SecurityHeaderUtil

public class SecurityHeaderUtil extends Object
  • Field Details

    • PATH_MATCHER

      public static final org.springframework.util.AntPathMatcher PATH_MATCHER
  • Constructor Details

    • SecurityHeaderUtil

      public SecurityHeaderUtil()
  • Method Details

    • getSecurityHeaderValue

      public static String getSecurityHeaderValue(javax.servlet.http.HttpServletRequest request, SecurityHeader securityHeader)
      Returns the value of the security header. If a custom value has been defined for the URL passed as a parameter, this custom value is returned else the default value is returned
      Parameters:
      request - the request
      securityHeader - Secutiy header instance
      Returns:
      value of the header (custom or default)