Announcement Announcement Module
Collapse
No announcement yet.
HTTP Basic authentication - get password entered by the user Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTTP Basic authentication - get password entered by the user

    Hi,

    I implemented Basic authentication in my web-project. When I start the application I get the basic login-form and when I use an existing user/password from the database the login is successful.

    But I have to store a user with his password, when the user doesn´t exist in the database. How do I get the password from the basic login-form?

    The user i get in UserDetails loadUserByUsername(String username) but the password? How couldt I avoid that the UsernameNotFoundException is thrown?

    Please help me.

    SaRi

  • #2
    Hi,

    am I on the wrong way? Could someone please help me?

    Thanks.

    Comment


    • #3
      Originally posted by SaRi View Post
      Hi,

      am I on the wrong way? Could someone please help me?

      Thanks.
      Typically this is done with a seperate form. For example a "reset password" page.

      Comment

      Working...
      X