Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 64809 invoked from network); 7 Jun 2007 14:56:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jun 2007 14:56:48 -0000 Received: (qmail 74300 invoked by uid 500); 7 Jun 2007 14:56:50 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 74271 invoked by uid 500); 7 Jun 2007 14:56:50 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 74260 invoked by uid 99); 7 Jun 2007 14:56:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2007 07:56:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2007 07:56:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 44FBE7141AA for ; Thu, 7 Jun 2007 07:56:26 -0700 (PDT) Message-ID: <29472640.1181228186279.JavaMail.jira@brutus> Date: Thu, 7 Jun 2007 07:56:26 -0700 (PDT) From: "Ate Douma (JIRA)" To: jetspeed-dev@portals.apache.org Subject: [jira] Resolved: (JS2-502) cannot disable user MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JS2-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ate Douma resolved JS2-502. --------------------------- Resolution: Fixed Fix Version/s: 2.1.1 This was indeed a bug which I fixed, but note that Jetspeed currently doesn't make use of the enabled flag of Principals. See still pending issue JS2-27 for that. > cannot disable user > ------------------- > > Key: JS2-502 > URL: https://issues.apache.org/jira/browse/JS2-502 > Project: Jetspeed 2 > Issue Type: Bug > Components: Security > Affects Versions: 2.0-FINAL > Environment: any > Reporter: Jacek Wi?licki > Assignee: Ate Douma > Fix For: 2.1.1 > > > DefaultUserSecurityHandler throws "user ... doesn't exist" security exception when I try to set a user disabled (setUserEnabled(String, boolean) method of UserManager). The problem is in checking if the user principal is enabled in line 112: > if ( null != internalUser && internalUser.isEnabled() != userPrincipal.isEnabled() ) > I guess. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org