package Ġio . h azy one . spring security rest ldap jwt . config Ċ Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . http . MediaType Ċ import Ġorg . springframework . web . servlet . config . annotation . Content Neg otiation Configurer Ċ import Ġorg . springframework . web . servlet . config . annotation . Web Mvc Configurer Ċ Ċ @ Configuration Ċ class ĠWeb Config Ġ: ĠWeb Mvc Configurer Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġconfigure Content Neg otiation ( config urer : ĠContent Neg otiation Configurer ) Ġ{ ĊĠĠĠĠĠĠĠ Ġconfigur er . default ContentType ( MediaType . APPLICATION _ JSON ). ignore Accept Header ( true ) ĊĠĠĠ Ġ} Ċ }