public class WebUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CORS_EXPOSE_HEADERS_HEADER |
Constructor and Description |
---|
WebUtil() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.security.web.util.matcher.RequestMatcher |
buildCsrfRequestMatcher(Collection<org.pentaho.platform.api.engine.CsrfProtectionDefinition> csrfProtectionDefinitions) |
static org.pentaho.platform.api.engine.CsrfProtectionDefinition |
parseXmlCsrfProtectionDefinition(org.dom4j.Element csrfProtectionElem) |
static void |
setCorsResponseHeaders(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static void |
setCorsResponseHeaders(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,List<String>> corsHeadersConfiguration) |
public static final String CORS_EXPOSE_HEADERS_HEADER
public static void setCorsResponseHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public static void setCorsResponseHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,List<String>> corsHeadersConfiguration)
public static org.pentaho.platform.api.engine.CsrfProtectionDefinition parseXmlCsrfProtectionDefinition(org.dom4j.Element csrfProtectionElem)
public static org.springframework.security.web.util.matcher.RequestMatcher buildCsrfRequestMatcher(Collection<org.pentaho.platform.api.engine.CsrfProtectionDefinition> csrfProtectionDefinitions)
Copyright © 2021 Hitachi Vantara. All rights reserved.