package Ġno . nav . f amil ie . integr as jon er . config Ċ Ċ import Ġcom . fasterxml . jackson . module . kotlin . Kotlin Module Ċ import Ġno . nav . f amil ie . log . filter . Log Filter Ċ import Ġno . nav . security . token . support . client . spring . oauth 2 . Enable OAuth 2 Client Ċ import Ġno . nav . security . token . support . spring . api . Enable Jwt Token Validation Ċ import Ġorg . slf 4 j . LoggerFactory Ċ import Ġorg . springframework . boot . SpringBoot Configuration Ċ import Ġorg . springframework . boot . context . properties . Configuration Properties Scan Ċ import Ġorg . springframework . boot . web . servlet . Filter Registration Bean Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Component Scan Ċ import Ġorg . springframework . scheduling . annotation . Enable Scheduling Ċ Ċ @ SpringBoot Configuration Ċ @ Component Scan (" no . nav . f amil ie . integr as jon er ") Ċ @ Configuration Properties Scan Ċ @ Enable Jwt Token Validation ( ignore Ġ= Ġ[" org . springframework ", Ġ" spring fox . documentation . swagger "]) Ċ @ Enable OAuth 2 Client ( cache Enabled Ġ= Ġtrue ) Ċ @ Enable Scheduling Ċ class ĠApplication Config Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġlogger Ġ= ĠLoggerFactory . getLogger ( Application Config :: class . java ) ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġkotlin Module (): ĠKotlin Module Ġ= ĠKotlin Module () ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġlog Filter (): ĠFilter Registration Bean < Log Filter > Ġ{ ĊĠĠĠĠĠĠĠ Ġlogger . info (" Register ing ĠLog Filter Ġfilter ") ĊĠĠĠĠĠĠĠ Ġval Ġfilter Registration Ġ= ĠFilter Registration Bean < Log Filter >() ĊĠĠĠĠĠĠĠ Ġfilter Registration . filter Ġ= ĠLog Filter () ĊĠĠĠĠĠĠĠ Ġfilter Registration . order Ġ= Ġ 1 ĊĠĠĠĠĠĠĠ Ġreturn Ġfilter Registration ĊĠĠĠ Ġ} Ċ } Ċ