public static enum XsrfTokenInterceptor.SecurityLevel extends Enum<XsrfTokenInterceptor.SecurityLevel>
Enum Constant and Description |
---|
OPT_IN
Methods without any configuration are not protected by default
|
OPT_OUT
Methods without any configuration are protected by default
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDefaultProtection() |
static XsrfTokenInterceptor.SecurityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XsrfTokenInterceptor.SecurityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XsrfTokenInterceptor.SecurityLevel OPT_IN
public static final XsrfTokenInterceptor.SecurityLevel OPT_OUT
public static XsrfTokenInterceptor.SecurityLevel[] values()
for (XsrfTokenInterceptor.SecurityLevel c : XsrfTokenInterceptor.SecurityLevel.values()) System.out.println(c);
public static XsrfTokenInterceptor.SecurityLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean getDefaultProtection()
Copyright © 2020 Atlassian. All rights reserved.