package Ġme . or ih are l . series manager . config Ċ Ċ import Ġme . or ih are l . series manager . interceptor . Same User Check Interceptor Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . web . servlet . config . annotation . Interceptor Registry Ċ import Ġorg . springframework . web . servlet . config . annotation . Web Mvc Configurer Ċ Ċ @ Configuration Ċ class ĠInter ceptor Config Ġ: ĠWeb Mvc Configurer Ġ{ ĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġsame User Check Interceptor : ĠSame User Check Interceptor ĊĊĠĠĠ Ġoverride Ġfun Ġadd Intercept ors ( registry : ĠInter ceptor Registry ) Ġ{ ĊĠĠĠĠĠĠĠ Ġregistry . add Interceptor ( same User Check Interceptor ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. exclude Path Patterns (" /** ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. add Path Patterns ("/ api / v 1 /** ") ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. exclude Path Patterns ("/ api / v 1 / auth /** ") ĊĠĠĠ Ġ} Ċ }