package Ġcom . my company . myapp . security Ċ Ċ import Ġcom . my company . myapp . config . Constants Ċ Ċ import Ġjava . util . Optional Ċ Ċ import Ġorg . springframework . data . domain . Aud itor Aware Ċ import Ġorg . springframework . stereotype . Component Ċ Ċ /** Ċ Ġ* ĠImplementation Ġof Ġ[ Aud itor Aware ] Ġbased Ġon ĠSpring ĠSecurity . Ċ Ġ*/ Ċ @ Component Ċ class ĠSpring Security Aud itor Aware Ġ: ĠAud itor Aware < String > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠgetCurrent Aud itor (): ĠOptional < String > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠOptional . of ( Security Utils . getCurrent User Login (). orElse ( Constants . SYSTEM _ ACCOUNT )) ĊĠĠĠ Ġ} Ċ } Ċ