geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: svn commit: r594117 [1/2] - in /geronimo/server/trunk: assemblies/geronimo-jetty6-javaee5/src/main/assembly/ assemblies/geronimo-jetty6-javaee5/src/main/resources/cluster-repository/ assemblies/geronimo-jetty6-javaee5/src/main/resources/master-reposito...
Date Tue, 13 Nov 2007 21:40:37 GMT
Hi Gianny,
I notice that this scheme is storing "admin" username and password in  
clear text. It will also make the username/password accessible via  
JMX. I think we need to avoid this. Would prefer to see this  
information handled in a manner more consistent with our handling of  
sensitive information in var/security. Would you agree?

--kevan

On Nov 12, 2007, at 8:35 AM, gdamour@apache.org wrote:

> Modified: geronimo/server/trunk/plugins/clustering/clustering/src/ 
> main/plan/plan.xml
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/clustering/clustering/src/main/plan/plan.xml?rev=594117&r1=594116&r2=594117&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- geronimo/server/trunk/plugins/clustering/clustering/src/main/ 
> plan/plan.xml (original)
> +++ geronimo/server/trunk/plugins/clustering/clustering/src/main/ 
> plan/plan.xml Mon Nov 12 05:35:48 2007
> @@ -27,4 +27,78 @@
>         </reference>
>     </gbean>
>
> +    <gbean name="MasterRepository"  
> class="org.apache.geronimo.system.repository.Maven2Repository">
> +        <attribute name="root">master-repository/</attribute>
> +        <reference name="ServerInfo">
> +            <name>ServerInfo</name>
> +        </reference>
> +    </gbean>
> +
> +    <gbean name="MasterConfigurationStore"  
> class 
> ="org.apache.geronimo.clustering.deployment.MasterConfigurationStore">
> +        <xml-attribute name="defaultEnvironment">
> +            <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-$ 
> {geronimoSchemaVersion}">
> +                <dependencies>
> +                    <dependency>
> +                        <groupId>${pom.groupId}</groupId>
> +                        <artifactId>clustering</artifactId>
> +                        <type>car</type>
> +                    </dependency>
> +                </dependencies>
> +            </environment>
> +        </xml-attribute>
> +        <reference name="Repository">
> +            <name>MasterRepository</name>
> +        </reference>
> +        <reference name="ClusterInfo">
> +            <name>ClusterInfo</name>
> +        </reference>
> +        <reference name="ClusterConfigurationStoreClient">
> +            <name>ClusterConfigurationStoreClient</name>
> +        </reference>
> +    </gbean>
> +
> +    <gbean name="ClusterConfigurationStoreClient"  
> class 
> = 
> "org 
> .apache 
> .geronimo.clustering.deployment.BasicClusterConfigurationStoreClient">
> +        <attribute name="clusterConfigurationStoreNameQuery">? 
> name=ClusterConfigurationStore</attribute>
> +    </gbean>
> +
> +    <gbean name="ClusterRepository"  
> class="org.apache.geronimo.system.repository.Maven2Repository">
> +        <attribute name="root">cluster-repository/</attribute>
> +        <reference name="ServerInfo">
> +            <name>ServerInfo</name>
> +        </reference>
> +    </gbean>
> +
> +    <gbean name="ClusterStore"  
> class 
> = 
> "org 
> .apache.geronimo.system.configuration.RepositoryConfigurationStore">
> +        <reference name="Repository">
> +            <name>ClusterRepository</name>
> +        </reference>
> +    </gbean>
> +
> +    <gbean name="ClusterConfigurationStore"  
> class 
> = 
> "org 
> .apache 
> .geronimo.clustering.deployment.BasicClusterConfigurationStore">
> +        <reference name="ConfigurationStore">
> +            <name>ClusterStore</name>
> +        </reference>
> +    </gbean>
> +
> +    <!-- Static Cluster Configuration -->
> +    <gbean name="ClusterInfo"  
> class="org.apache.geronimo.clustering.config.BasicClusterInfo">
> +        <attribute name="name">${PlanClusterName}</attribute>
> +        <reference name="NodeInfos"></reference>
> +    </gbean>
> +
> +    <gbean name="NodeInfo"  
> class="org.apache.geronimo.clustering.config.BasicNodeInfo">
> +          <attribute name="name">NodeName</attribute>
> +          <xml-attribute name="extendedJMXConnectorInfo">
> +              <ns:javabean xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0

> "  
> class 
> = 
> "org.apache.geronimo.clustering.config.BasicExtendedJMXConnectorInfo">
> +                  <ns:property name="username">system</ns:property>
> +                  <ns:property name="password">manager</ns:property>
> +                  <ns:property name="protocol">rmi</ns:property>
> +                  <ns:property name="host">localhost</ns:property>
> +                  <ns:property name="port">1099</ns:property>
> +                  <ns:property name="urlPath">JMXConnector</ 
> ns:property>
> +                  <ns:property name="local">true</ns:property>
> +              </ns:javabean>
> +          </xml-attribute>
> +      </gbean>
> +
> </module>


Mime
View raw message