package Ġru . touch in . common . spring . security . configurations Ċ Ċ import Ġorg . springframework . context . annotation . Component Scan Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . security . config . annotation . method . configuration . Enable Global Method Security Ċ import Ġorg . springframework . security . config . annotation . web . builders . Http Security Ċ import Ġorg . springframework . security . config . annotation . web . configuration . Web Security Configurer Adapter Ċ import Ġru . touch in . common . spring . security . http . configur ators . Http Security Configurator Ċ Ċ @ Configuration Ċ @ Component Scan ( ĊĠĠĠ Ġ" ru . touch in . common . spring . security . url . intercept ors ", ĊĠĠĠ Ġ" ru . touch in . common . spring . security . http . configur ators ", Ċ ) Ċ @ Enable Global Method Security ( pre Post Enabled Ġ= Ġtrue ) Ċ class ĠDefault Security Configuration ( ĊĠĠĠ Ġprivate Ġval Ġhttp Security Configur ators : ĠList < Http Security Configurator >, Ċ ) Ġ: ĠWeb Security Configurer Adapter () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġconfigure ( http : ĠHttp Security ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhttp Security Configur ators . forEach Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġit . configure ( http ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ Ċ } Ċ