Console Realm Create new user gives confusing error message. 
-------------------------------------------------------------

         Key: GERONIMO-1250
         URL: http://issues.apache.org/jira/browse/GERONIMO-1250
     Project: Geronimo
        Type: Improvement
  Components: console  
 Environment: All
    Reporter: Rick McGuire
    Priority: Minor


The default "out-of-the-box" configuration uses the PropertiesLoginModule, 
which doesn't support adding additional userids and groups.  However, the 
Console Realm portlet supports Create New User and Create New Group as options. 
 If you try to create either a new group or user, you get an error that the 
"ERROR:  User already exists".  The user does not already exist, so the error 
doesn't really make sense.  This operation is failing because the 
PropertiesLoginModuleManager is throwing an exception because it doesn't 
support updates, not because this is a duplicate name.  The portlet is just 
catching all exceptions and reporting this as a duplicate name error.  It would 
be nice to make this a little more granular.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to