title: Spring security authentication with username only but without password and I need to generate token if login success
body: <p>I need to generate the token based on authentication without password but we should give username</p>