setPassword???

bpm@terraweb.com writes:
 > Sorry, but I can not seem to find the call to user.setPassword that is
 > in the w3c/jigsaw/contrib/PasswordEditor.java.  Found the
 > user.getPassword, but not setPassword.  I guess it would be real easy
 > to make it something like this in AuthFilter.java:
 > 
 >     /**
 >      * Set the entered password.
 >      * @return nothing.
 >      */
 > 
 >     public void setPassword(String newpassword) {
 > 	password = newpassword;
 >     }

Hum not exactly, there it is:

    /**
     * Set a new password for this user.
     * @param passwd The new user's password.
     */

    public void setPassword(String passwd) {
	setString(ATTR_PASSWORD, passwd);
    }

See, the password is an attribute (that's how it's goig to be saved
when sutting down Jigsaw....

Anselm.

Received on Friday, 6 December 1996 04:10:30 UTC