geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r471796 - /geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java
Date Mon, 06 Nov 2006 17:17:46 GMT
Author: vamsic007
Date: Mon Nov  6 09:17:43 2006
New Revision: 471796

URL: http://svn.apache.org/viewvc?view=rev&rev=471796
Log:
GERONIMO-2546 SecurityRealms portlet is broken

Modified:
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java?view=diff&rev=471796&r1=471795&r2=471796
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java
(original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java
Mon Nov  6 09:17:43 2006
@@ -361,7 +361,6 @@
         }
         // Build the realm GBean
         GbeanType realm = GbeanType.Factory.newInstance();
-        root.setServiceArray(new AbstractServiceType[]{realm});
         realm.setName(data.getName());
         realm.setClass1("org.apache.geronimo.security.realm.GenericSecurityRealm");
         AttributeType realmName = realm.addNewAttribute();
@@ -439,6 +438,7 @@
         loginCursor.dispose();
         destination.dispose();
         config.setName("LoginModuleConfiguration");
+        root.setServiceArray(new AbstractServiceType[]{realm});
 
         return doc;
     }



Mime
View raw message