Class SecurityHeaderUtil
- java.lang.Object
-
- fr.paris.lutece.util.securityheader.SecurityHeaderUtil
-
public class SecurityHeaderUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.springframework.util.AntPathMatcherPATH_MATCHER
-
Constructor Summary
Constructors Constructor Description SecurityHeaderUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetSecurityHeaderValue(javax.servlet.http.HttpServletRequest request, SecurityHeader securityHeader)Returns the value of the security header.
-
-
-
Method Detail
-
getSecurityHeaderValue
public static java.lang.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 requestsecurityHeader- Secutiy header instance- Returns:
- value of the header (custom or default)
-
-