package Ġpl . rad os law dab row ski . admin . modules . root . services . impl Ċ Ċ import Ġorg . springframework . context . annotation . Primary Ċ import Ġorg . springframework . security . core . user details . UserDetails Ċ import Ġorg . springframework . security . core . user details . UserDetails Service Ċ import Ġorg . springframework . stereotype . Service Ċ import Ġpl . rad os law dab row ski . admin . modules . root . services . UserService Ċ Ċ @ Service Ċ @ Primary Ċ class ĠAdmin UserDetails ServiceImpl Ġ: ĠUser Details Service Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar ĠuserService : ĠUserService ĊĊĠĠĠ Ġoverride Ġfun Ġload User By Username ( username : ĠString ?): ĠUser Details Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠuserService . getUser ( username !! ) ĊĠĠĠ Ġ} Ċ Ċ }