geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-3318) LocalAttributeManager unable to save updates to LoginModuleControlFlag attribute
Date Fri, 13 Jul 2007 10:34:04 GMT
LocalAttributeManager unable to save updates to LoginModuleControlFlag attribute
--------------------------------------------------------------------------------

                 Key: GERONIMO-3318
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3318
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: core
    Affects Versions: 2.0-M7
            Reporter: Vamsavardhana Reddy
             Fix For: 2.0-M7


While editing a SecurityRealm through SecurityRealmPortlet, changes made to ControlFlag attributes
are not getting saved.  An error message "Unable to store attribute type LoginModuleControlFlag"
is logged. 

The problem is in GBeanOverride.getAsText() method which is trying to get LoginModuleControlFlagEditor
in its own classLoader (j2ee-system) and this is resulting in ClassNotFoundException.  LoginModuleControlFlagEditor
is available in j2ee-security classLoader.

Applying the overrides is happening properly as the corresponding configuration's classLoader
is being used to find the property editor (in our case LoginModuleControlFlagEditor).  It
may be a good idea to add a classLoader member to GBeanOverride class, initialize it to the
classLoader of the configuration containing the GBean and use this classLoader wherever necessary.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message