W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1996

setPassword???

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Fri, 6 Dec 1996 10:10:15 +0100 (MET)
Message-Id: <199612060910.KAA17090@www43.inria.fr>
To: bpm@techapp.com
Cc: www-jigsaw@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT