org.apache.shiro.spring.boot.csrfguard.CsrfguardConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shiro-csrfguard-spring-boot-starter Show documentation
Show all versions of shiro-csrfguard-spring-boot-starter Show documentation
Spring Boot Starter For Shiro With Owasp Csrfguard
/*
* Copyright (c) 2018, hiwepy (https://github.com/hiwepy).
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package org.apache.shiro.spring.boot.csrfguard;
/**
* TODO
* @author : hiwepy
*/
public class CsrfguardConstants {
public static final String CACHE_CONTROL_KEY = "cache-control";
public static final String DOMAIN_STRICT_KEY = "domain-strict";
public static final String INJECT_INTO_ATTRIBUTES_KEY = "inject-into-attributes";
public static final String INJECT_GET_FORMS_KEY = "inject-get-forms";
public static final String INJECT_FORM_ATTRIBUTES_KEY = "inject-form-attributes";
public static final String INJECT_INTO_FORMS_KEY = "inject-into-forms";
public static final String REFERER_PATTERN_KEY = "referer-pattern";
public static final String REFERER_MATCH_DOMAIN_KEY = "referer-match-domain";
public static final String SOURCE_FILE_KEY = "source-file";
public static final String XREQUESTEDWITH_KEY = "x-requested-with";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy