public static enum SpringSecurityJackson2Module.Jackson2SpringSecurityConfigurator extends Enum<SpringSecurityJackson2Module.Jackson2SpringSecurityConfigurator> implements Jackson2Configurator<Jackson2Configurator.BuildinJackson2Configurators>
GrantedAuthority
,
SimpleGrantedAuthority
).Jackson2Configurator.BuildinJackson2Configurators
Enum Constant and Description |
---|
JACKSON2_SPRINGSECURITY_CONFIGURATOR |
JACKSON_JAXB_ENABLED, XMLMAPPER_CLASSNAME
Modifier and Type | Method and Description |
---|---|
abstract <M extends com.fasterxml.jackson.databind.ObjectMapper> |
config(org.springframework.core.env.PropertyResolver propertyResolver,
M mapper) |
static SpringSecurityJackson2Module.Jackson2SpringSecurityConfigurator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpringSecurityJackson2Module.Jackson2SpringSecurityConfigurator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
findClass, getEnumValue, getProperty, isXmlMapper
public static final SpringSecurityJackson2Module.Jackson2SpringSecurityConfigurator JACKSON2_SPRINGSECURITY_CONFIGURATOR
public static SpringSecurityJackson2Module.Jackson2SpringSecurityConfigurator[] values()
for (SpringSecurityJackson2Module.Jackson2SpringSecurityConfigurator c : SpringSecurityJackson2Module.Jackson2SpringSecurityConfigurator.values()) System.out.println(c);
public static SpringSecurityJackson2Module.Jackson2SpringSecurityConfigurator 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 abstract <M extends com.fasterxml.jackson.databind.ObjectMapper> M config(org.springframework.core.env.PropertyResolver propertyResolver, M mapper)
config
in interface Jackson2Configurator<Jackson2Configurator.BuildinJackson2Configurators>
Copyright © 2017. All rights reserved.