public enum SerializationSecurityMethod extends Enum<SerializationSecurityMethod>
| Enum Constant and Description |
|---|
BLACKLIST
If class has Class fields and not contains in whitelist it will be blocked
|
STRICT_BLACKLIST
Same as blacklist but also classes with byte array fields will be blocked
|
WHITELIST
Only classes from white list are allowed
|
| Modifier and Type | Method and Description |
|---|---|
static SerializationSecurityMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializationSecurityMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerializationSecurityMethod WHITELIST
public static final SerializationSecurityMethod BLACKLIST
public static final SerializationSecurityMethod STRICT_BLACKLIST
public static SerializationSecurityMethod[] values()
for (SerializationSecurityMethod c : SerializationSecurityMethod.values()) System.out.println(c);
public static SerializationSecurityMethod 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 nullCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.