public abstract class SimpleGrantedAuthorityMixin extends Object
SimpleGrantedAuthority
.
ObjectMapper mapper = new ObjectMapper(); mapper.registerModule(new CoreJackson2Module());
CoreJackson2Module
,
SecurityJackson2Modules
public SimpleGrantedAuthorityMixin(String role)
role
- the role