Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

basic authentication password change

 
Khalil Salman
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When using basic authentication, is there any way to change the user's password and make the new password available without restarting the server?
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The server reads the configuration file on start-up, so the changes will not take effect until it's restarted.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any somewhat serious web app will not get its user data from a file, but from a repository like a DB or LDAP - in which case a password change should take effect right away.

Basic authentication credentials are generally cached by the browser, though, so you need to restart that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic