1 Reply Latest reply on Jun 12, 2009 7:31 PM by peterj

    Basic AUhentication:Updating password dinamically

    ramboid

      Is there a way in which I could change the password for a role at run time with a java program (servlet, ejb, ...) priodically without having to manually edit the properties file that associate the role to the password? I would like to have a program that every so often would change the password for the a role

        • 1. Re: Basic AUhentication:Updating password dinamically
          peterj

          My recommendation is to use a database login module. Then your app can change the passwords at any time by submitting an update request to the database.

          If you want to use properties file, you app could modify the users properties file to change the password. Hopefully the app server doesn't cache the passwords but you could easily check this manually before writing any code.