Changeset 2101


Ignore:
Timestamp:
Mar 22, 2006, 11:49:46 AM (17 years ago)
Author:
Martin Svensson
Message:

Fixes #118.Not allowed to change password

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/User.java

    r1443 r2101  
    249249    Set the password. A null password is not allowed.
    250250    @throws PermissionDeniedException If the logged in user doesn't have
    251       write permission
     251      restricted_write permission
    252252    @throws InvalidDataException If the new password is null
    253253  */
     
    255255    throws PermissionDeniedException, InvalidDataException
    256256  {
    257     checkPermission(Permission.WRITE);
     257    checkPermission(Permission.RESTRICTED_WRITE);
    258258    if (password == null) throw new InvalidUseOfNullException("password");
    259259    getData().getPassword().setMd5Password(MD5.getHashString(password));
Note: See TracChangeset for help on using the changeset viewer.