Class SecurityHeaderUtil


  • public class SecurityHeaderUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.springframework.util.AntPathMatcher PATH_MATCHER  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getSecurityHeaderValue​(javax.servlet.http.HttpServletRequest request, SecurityHeader securityHeader)
      Returns the value of the security header.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PATH_MATCHER

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

      • SecurityHeaderUtil

        public SecurityHeaderUtil()
    • 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 request
        securityHeader - Secutiy header instance
        Returns:
        value of the header (custom or default)