public CmsUser readUser(CmsDbContext dbc, String username, String password) throws CmsException {

        // don't read user from cache here because password may have changed
        CmsUser user = getUserDriver(dbc).readUser(dbc, username, password, null);
        m_monitor.cacheUser(user);
        return user;
    }
public CmsUser readUser ( CmsDbContext dbc , String username , String password ) throws CmsException { CmsUser user = getUserDriver ( dbc ) . readUser ( dbc , username , password , null ) ; m_monitor . cacheUser ( user ) ; return user ; }
Returns a user object if the password for the user is correct.<p>

If the user/pwd pair is not valid a <code>{@link CmsException}</code> is thrown.<p>

@param dbc the current database context
@param username the username of the user that is to be read
@param password the password of the user that is to be read

@return user read

@throws CmsException if operation was not successful