File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes basic authentication password change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "basic authentication password change" Watch "basic authentication password change" New topic
Author

basic authentication password change

Khalil Salman
Greenhorn

Joined: Sep 05, 2010
Posts: 11
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

Joined: Nov 06, 2000
Posts: 1510
The server reads the configuration file on start-up, so the changes will not take effect until it's restarted.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: basic authentication password change