With this all the user acc can be stored in system and the information can be retained even after log out. Here also token and auth token implemented. Where user will be logged in based on session auth.
- Add account to the AccountManager with AUTHENTICATE_ACCOUNTS
- Account exist or not checking
- Get password from account manager.
- Password, Toker and Username validator
- Get an Auth Token from the AccountManager's cache for a given Account type
- Add an auth token to the AccountManager cache for an account.
- Invalidate an auth token to the AccountManager cache for an account.