geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r555665 - in /geronimo/server/trunk: applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/securitymanager/realm/ configs/client/src/plan/ configs/j2ee-server/src/plan/ modules/geronimo-j2ee/src/main/java/...
Date Thu, 12 Jul 2007 15:38:55 GMT
Author: vamsic007
Date: Thu Jul 12 08:38:54 2007
New Revision: 555665

URL: http://svn.apache.org/viewvc?view=rev&rev=555665
Log:
GERONIMO-3312 Eliminate obselete org.apache.geronimo.management.geronimo.J2EEServer.getLoginService()
method
  o Removed org.apache.geronimo.management.geronimo.J2EEServer.getLoginService() method
  o Removed org.apache.geronimo.management.geronimo.LoginService interface

Removed:
    geronimo/server/trunk/modules/geronimo-management/src/main/java/org/apache/geronimo/management/geronimo/LoginService.java
Modified:
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/java/org/apache/geronimo/console/securitymanager/realm/SecurityRealmPortlet.java
    geronimo/server/trunk/configs/client/src/plan/plan.xml
    geronimo/server/trunk/configs/j2ee-server/src/plan/plan.xml
    geronimo/server/trunk/modules/geronimo-j2ee/src/main/java/org/apache/geronimo/j2ee/management/impl/J2EEServerImpl.java
    geronimo/server/trunk/modules/geronimo-management/src/main/java/org/apache/geronimo/management/geronimo/J2EEServer.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=555665&r1=555664&r2=555665
==============================================================================
--- 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
Thu Jul 12 08:38:54 2007
@@ -384,9 +384,6 @@
         ReferenceType serverInfo = realm.addNewReference();
         serverInfo.setName2("ServerInfo");
         serverInfo.setName((String) PortletManager.getNameFor(request, PortletManager.getCurrentServer(request).getServerInfo()).getName().get("name"));
-        ReferenceType loginService = realm.addNewReference();
-        loginService.setName2("LoginService");
-        loginService.setName((String) PortletManager.getNameFor(request, PortletManager.getCurrentServer(request).getLoginService()).getName().get("name"));
         XmlAttributeType config = realm.addNewXmlReference();
         // Construct the content to put in the XmlAttributeType
         GerLoginConfigDocument lcDoc = GerLoginConfigDocument.Factory.newInstance();

Modified: geronimo/server/trunk/configs/client/src/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/client/src/plan/plan.xml?view=diff&rev=555665&r1=555664&r2=555665
==============================================================================
--- geronimo/server/trunk/configs/client/src/plan/plan.xml (original)
+++ geronimo/server/trunk/configs/client/src/plan/plan.xml Thu Jul 12 08:38:54 2007
@@ -89,7 +89,6 @@
         <reference name="ThreadPools"/>
         <reference name="Repositories"/>
         <reference name="SecurityRealms"/>
-        <reference name="LoginServices"/>
         <reference name="KeystoreManagers"/>
         <reference name="ConfigurationManager">
             <name>ConfigurationManager</name>

Modified: geronimo/server/trunk/configs/j2ee-server/src/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/j2ee-server/src/plan/plan.xml?view=diff&rev=555665&r1=555664&r2=555665
==============================================================================
--- geronimo/server/trunk/configs/j2ee-server/src/plan/plan.xml (original)
+++ geronimo/server/trunk/configs/j2ee-server/src/plan/plan.xml Thu Jul 12 08:38:54 2007
@@ -68,7 +68,6 @@
         <reference name="Repositories"/>
         <reference name="WritableRepos"/>
         <reference name="SecurityRealms"/>
-        <reference name="LoginServices"/>
         <reference name="KeystoreManagers"/>
         <reference name="PluginRepoLists"/>
         <reference name="PluginInstaller">

Modified: geronimo/server/trunk/modules/geronimo-j2ee/src/main/java/org/apache/geronimo/j2ee/management/impl/J2EEServerImpl.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-j2ee/src/main/java/org/apache/geronimo/j2ee/management/impl/J2EEServerImpl.java?view=diff&rev=555665&r1=555664&r2=555665
==============================================================================
--- geronimo/server/trunk/modules/geronimo-j2ee/src/main/java/org/apache/geronimo/j2ee/management/impl/J2EEServerImpl.java
(original)
+++ geronimo/server/trunk/modules/geronimo-j2ee/src/main/java/org/apache/geronimo/j2ee/management/impl/J2EEServerImpl.java
Thu Jul 12 08:38:54 2007
@@ -39,7 +39,6 @@
 import org.apache.geronimo.management.geronimo.JMSManager;
 import org.apache.geronimo.management.geronimo.JVM;
 import org.apache.geronimo.management.geronimo.KeystoreManager;
-import org.apache.geronimo.management.geronimo.LoginService;
 import org.apache.geronimo.management.geronimo.ResourceAdapterModule;
 import org.apache.geronimo.management.geronimo.SecurityRealm;
 import org.apache.geronimo.management.geronimo.WebManager;
@@ -71,7 +70,6 @@
     private final Collection pluginRepoLists;
     private final Collection writableRepos;
     private final Collection securityRealms;
-    private final Collection loginServices;
     private final Collection keystoreManagers;
     private final Collection pluginInstallers;
     private final ConfigurationManager configurationManager;
@@ -92,7 +90,6 @@
                           Collection repositories,
                           Collection writableRepos,
                           Collection securityRealms,
-                          Collection loginServices,
                           Collection keystoreManagers,
                           Collection configurationInstallers,
                           ConfigurationManager configurationManager,
@@ -120,7 +117,6 @@
         this.repositories = repositories;
         this.writableRepos = writableRepos;
         this.securityRealms = securityRealms;
-        this.loginServices = loginServices;
         this.keystoreManagers = keystoreManagers;
         this.pluginInstallers = configurationInstallers;
         this.configurationManager = configurationManager;
@@ -279,11 +275,6 @@
         return serverInfo;
     }
 
-    public LoginService getLoginService() {
-        if (loginServices == null) return null;
-        return (LoginService) loginServices.iterator().next();
-    }
-
     public KeystoreManager getKeystoreManager() {
         if (keystoreManagers == null) return null;
         return (KeystoreManager) keystoreManagers.iterator().next();
@@ -328,7 +319,6 @@
         infoFactory.addReference("Repositories", ListableRepository.class);
         infoFactory.addReference("WritableRepos", WritableListableRepository.class);
         infoFactory.addReference("SecurityRealms", SecurityRealm.class);
-        infoFactory.addReference("LoginServices", LoginService.class);
         infoFactory.addReference("KeystoreManagers", KeystoreManager.class);
         infoFactory.addReference("PluginInstaller", PluginInstaller.class);
         infoFactory.addReference("PluginRepoLists", PluginRepositoryList.class);
@@ -351,7 +341,6 @@
                 "Repositories",
                 "WritableRepos",
                 "SecurityRealms",
-                "LoginServices",
                 "KeystoreManagers",
                 "PluginInstaller",
                 "ConfigurationManager",

Modified: geronimo/server/trunk/modules/geronimo-management/src/main/java/org/apache/geronimo/management/geronimo/J2EEServer.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-management/src/main/java/org/apache/geronimo/management/geronimo/J2EEServer.java?view=diff&rev=555665&r1=555664&r2=555665
==============================================================================
--- geronimo/server/trunk/modules/geronimo-management/src/main/java/org/apache/geronimo/management/geronimo/J2EEServer.java
(original)
+++ geronimo/server/trunk/modules/geronimo-management/src/main/java/org/apache/geronimo/management/geronimo/J2EEServer.java
Thu Jul 12 08:38:54 2007
@@ -100,11 +100,6 @@
     public ServerInfo getServerInfo();
 
     /**
-     * Gets the LoginService associated with this J2EEServer.
-     */
-    public LoginService getLoginService();
-
-    /**
      * Gets the KeystoreManager associated with this J2EEServer.
      */
     public KeystoreManager getKeystoreManager();



Mime
View raw message