Skip to content

Commit

Permalink
README notes
Browse files Browse the repository at this point in the history
'Since we use Spring's 'username' column name in the DB (and not 'email'
as planned), it is important to
know that we expect the username to be the email of the user. we count
on it by sending email to this
address.'
Currently, the flows jar supports all flows (except change password):
forgot password, create account. a mail is sent to the inbox of the user
(we assume that the 'username' is the email!), with a link with
encrypted data. Endpoints in the flows jar handle these events
respectively.
  • Loading branch information
OhadR committed Dec 4, 2013
1 parent a2ef907 commit 823f289
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ In DaoAuthenticationProvider.additionalAuthenticationChecks(), Spring checks the
user entered, in front of the one in the DB. It calls to passwordEncoder.isPasswordValid().
IT gets there only AFTER the check that user exists in 'user' table, *and in 'authorities' table*.

Since we use Spring's 'username' column name in the DB (and not 'email' as planned), it is important to
know that we expect the username to be the email of the user. we count on it by sending email to this
address.


TODO:
remember me - decide what to do
Expand Down

0 comments on commit 823f289

Please sign in to comment.