Author: indika Date: Wed May 13 22:20:01 2009 New Revision: 35758 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=35758
Log: add secret mgt Added: trunk/esb/java/modules/distribution/src/main/conf/cipher-text.properties Modified: trunk/esb/java/modules/distribution/pom.xml trunk/esb/java/modules/distribution/src/main/assembly/dist.xml trunk/esb/java/modules/distribution/src/main/conf/datasources.properties Modified: trunk/esb/java/modules/distribution/pom.xml URL: http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/distribution/pom.xml?rev=35758&r1=35757&r2=35758&view=diff ============================================================================== --- trunk/esb/java/modules/distribution/pom.xml (original) +++ trunk/esb/java/modules/distribution/pom.xml Wed May 13 22:20:01 2009 @@ -926,7 +926,12 @@ <artifactId>org.wso2.carbon.xkms</artifactId> <version>${carbon.version}</version> </dependency> - + <!--Carbon Secret --> + <dependency> + <groupId>org.wso2.carbon</groupId> + <artifactId>carbon-secret</artifactId> + <version>${carbon.version}</version> + </dependency> <!-- ### Required Carbon orbit dependencies ### --> <dependency> <groupId>org.apache.geronimo.specs.wso2</groupId> Modified: trunk/esb/java/modules/distribution/src/main/assembly/dist.xml URL: http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/distribution/src/main/assembly/dist.xml?rev=35758&r1=35757&r2=35758&view=diff ============================================================================== --- trunk/esb/java/modules/distribution/src/main/assembly/dist.xml (original) +++ trunk/esb/java/modules/distribution/src/main/assembly/dist.xml Wed May 13 22:20:01 2009 @@ -39,6 +39,7 @@ <include>org.wso2.carbon:org.wso2.carbon.task:jar</include> <include>org.wso2.carbon:org.wso2.carbon.task.services:jar</include> <include>org.wso2.carbon:org.wso2.carbon.startup:jar</include> + <include>org.wso2.carbon:org.wso2.carbon.secret:jar</include> <include>org.wso2.carbon:org.wso2.carbon.datasource:jar</include> <include>org.wso2.carbon:org.wso2.carbon.mediation.configadmin:jar</include> Added: trunk/esb/java/modules/distribution/src/main/conf/cipher-text.properties URL: http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/distribution/src/main/conf/cipher-text.properties?pathrev=35758 ============================================================================== --- (empty file) +++ trunk/esb/java/modules/distribution/src/main/conf/cipher-text.properties Wed May 13 22:20:01 2009 @@ -0,0 +1,7 @@ +#aliases=esb +# +## configuration per each plaintext +#esb.secret=KqqbqueV8J7gKU+r1rW2/yy5ZHa6OX3BIp1rRiYyivjtF1mfTkoGYch5lzEhKER0uABB1KcMZc1qIUvcsQFn3XuOiVqbwZS3R0NGp+aFmeDlvqaerfKvBnzoTU8aVnL4lotuGMEK6V6JDi946FM5doZrrJ7ZxBAaqvF1Q2kxlE8= +#esb.secret.alias=wso2carbon +#esb.secret.keystore=identity +# Modified: trunk/esb/java/modules/distribution/src/main/conf/datasources.properties URL: http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/distribution/src/main/conf/datasources.properties?rev=35758&r1=35757&r2=35758&view=diff ============================================================================== --- trunk/esb/java/modules/distribution/src/main/conf/datasources.properties (original) +++ trunk/esb/java/modules/distribution/src/main/conf/datasources.properties Wed May 13 22:20:01 2009 @@ -1,17 +1,20 @@ -##DataSources Configurations -# +################################################################################ +## DataSources Configuration +################################################################################ #synapse.datasources=lookupds,reportds #synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory #synapse.datasources.providerPort=2199 -### If following property is present , then assumes that there is an external JNDI provider and will not start a RMI registry -###synapse.datasources.providerUrl=rmi://localhost:2199 -## -## +## If following property is present , then assumes that there is an external JNDI provider and will not start a RMI registry +##synapse.datasources.providerUrl=rmi://localhost:2199 +# #synapse.datasources.lookupds.registry=Memory #synapse.datasources.lookupds.type=BasicDataSource #synapse.datasources.lookupds.driverClassName=org.apache.derby.jdbc.ClientDriver #synapse.datasources.lookupds.url=jdbc:derby://localhost:1527/lookupdb;create=false +## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider +#synapse.datasources.lookupds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler #synapse.datasources.lookupds.username=esb +## Depending on the password provider used, you may have to use an encrypted password here! #synapse.datasources.lookupds.password=esb #synapse.datasources.lookupds.dsName=lookupdb #synapse.datasources.lookupds.maxActive=100 @@ -26,8 +29,11 @@ #synapse.datasources.reportds.dsName=reportdb #synapse.datasources.reportds.driverClassName=org.apache.derby.jdbc.ClientDriver #synapse.datasources.reportds.url=jdbc:derby://localhost:1527/reportdb;create=false +## Optionally you can specifiy a specific password provider implementation which overrides any globally configured provider +#synapse.datasources.reportds.secretProvider=org.apache.synapse.commons.security.secret.handler.SharedSecretCallbackHandler #synapse.datasources.reportds.username=esb +## Depending on the password provider used, you may have to use an encrypted password here! #synapse.datasources.reportds.password=esb #synapse.datasources.reportds.maxActive=100 #synapse.datasources.reportds.maxIdle=20 -#synapse.datasources.reportds.maxWait=10000 +#synapse.datasources.reportds.maxWait=10000 \ No newline at end of file _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
