Class SimpleGrantedAuthorityMixin
- java.lang.Object
-
- org.springframework.security.jackson2.SimpleGrantedAuthorityMixin
-
public abstract class SimpleGrantedAuthorityMixin extends java.lang.Object
Jackson Mixin class helps in serialize/deserializeSimpleGrantedAuthority
.ObjectMapper mapper = new ObjectMapper(); mapper.registerModule(new CoreJackson2Module());
- Since:
- 4.2
- See Also:
CoreJackson2Module
,SecurityJackson2Modules
-
-
Constructor Summary
Constructors Constructor Description SimpleGrantedAuthorityMixin(java.lang.String role)
Mixin Constructor.
-