package Ġn sl . sam . core . entrypoint . factory Ċ Ċ import Ġn sl . sam . annotation . inject . Factory Ċ import Ġorg . springframework . security . web . Authentication EntryPoint Ċ Ċ /** Ċ Ġ* ĠFactory Ġwhich Ġcreates Ġa Ġcustom ĠSpring ĠSecurity Ċ Ġ* Ġ[ Authentication EntryPoint ]( https :// docs . spring . io / spring - security / site / docs / 5 . 1 . 2 . RELEASE / api / org / springframework / security / web / Authentication EntryPoint . html ). Ċ Ġ* Ċ Ġ* ĠK Class Ġof Ġthis Ġfactory Ġcan Ġbe Ġpassed Ġthorough Ġthe Ġ` authentication EntryPoint Factory ` Ġattribute Ġto Ġone Ċ Ġ* Ġof Ġthese Ġannotations : Ċ Ġ* Ċ Ġ* Ġ- Ġ[ n sl . sam . core . annotation . Enable Simple Authentication Methods ] Ċ Ġ* Ġ- Ġ[ n sl . sam . method . basic auth . annotation . Simple Basic Authentication ] Ċ Ġ* Ġ- Ġ[ n sl . sam . method . token . annotation . Simple Token Authentication ] Ċ Ġ* Ċ Ġ* ĠCustom Ġ[ Authentication EntryPoint ]( https :// docs . spring . io / spring - security / site / docs / 5 . 1 . 2 . RELEASE / api / org / springframework / security / web / Authentication EntryPoint . html ) Ċ Ġ* Ġcan Ġbe Ġused Ġto Ġchange Ġthe Ġresponse Ġthe Ġserver Ġsends Ġto Ġthe Ġclient Ġin Ġthe Ċ Ġ* Ġcase Ġof Ġthe Ġun authenticated Ġaccess . Ċ Ġ* Ċ Ġ*/ Ċ interface ĠAuthentication EntryPoint Factory Ġ: ĠFactory < Authentication EntryPoint > Ċ