Author: indika
Date: Wed Jun 24 22:47:11 2009
New Revision: 39847
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=39847

Log:
update doc 

Modified:
   trunk/esb/java/docs/xdoc/securing_secret_information.xml

Modified: trunk/esb/java/docs/xdoc/securing_secret_information.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/securing_secret_information.xml?rev=39847&r1=39846&r2=39847&view=diff
==============================================================================
--- trunk/esb/java/docs/xdoc/securing_secret_information.xml    (original)
+++ trunk/esb/java/docs/xdoc/securing_secret_information.xml    Wed Jun 24 
22:47:11 2009
@@ -83,12 +83,54 @@
 to keep secrets. It keeps aliases vs. its actual secret in encrypted format
 (encrypted by a key in keystore)</p>
 
-<p><strong>Example</strong></p>
-<pre>aliases=synapse
+<p><strong>Example </strong></p>
 
-synapse.secret=EsY65tztE9R5b9pErVxLp8Br5d3ol6vRdWAkYHdc7XkZteGf37VJ+iNlCenqxYSEto0vcjpcmmzwf7K2wd9u3KQtVGKEoNLSe2LYZtrm3tKmGd6PX9YpdN72ml3JISNXPJ69yybFi6DVUIJfE5MFOd7gswWfCnkmZ3eJ6M1nuiI=
-
-synapse.secret.algorithm=RSA</pre>
+<p><strong>secret-conf.properties</strong></p>
+<pre>############################################################################
+# Secret Securing Configuration
+############################################################################
+# The following property specifies a global password provider implementation
+# which will be used globally if not overriden in specific configurations
+#carbon.secretProvider=&lt;any implementation of 
org.apache.synapse.commons.security.secret.SecretCallbackHandler&gt;
+#Examples:
+#carbon.secretProvider=org.apache.synapse.commons.security.secret.handler.SecretManagerSecretCallbackHandler
+#carbon.secretProvider=org.apache.synapse.commons.security.secret.handler.JMXSecretCallbackHandler
+#carbon.secretProvider=org.apache.synapse.commons.security.secret.handler.JlineSecretCallbackHandler
+#carbon.secretProvider=org.apache.synapse.commons.security.secret.handler.JBossEncryptionSecretCallbackHandler
+
+#Secret Repositories configuration
+
+secretRepositories=file
+secretRepositories.file.provider=org.apache.synapse.commons.security.secret.repository.filebased.FileBaseSecretRepositoryProvider
+secretRepositories.file.location=cipher-text.properties
+
+#KeyStores configurations
+
+keystore.identity.location=resources/security/wso2carbon.jks
+keystore.identity.type=JKS
+keystore.identity.alias=wso2carbon
+keystore.identity.store.password=wso2carbon
+#keystore.identity.store.secretProvider=&lt;any implementation of 
org.apache.synapse.commons.security.secret.SecretCallbackHandler&gt;
+keystore.identity.key.password=wso2carbon
+#keystore.identity.key.secretProvider=&lt;any implementation of 
org.apache.synapse.commons.security.secret.SecretCallbackHandler&gt;
+#keystore.identity.parameters=enableHostnameVerifier=false;keyStoreCertificateFilePath=/home/esb.cer
+
+keystore.trust.location=resources/security/client-truststore.jks
+keystore.trust.type=JKS
+keystore.trust.alias=wso2carbon
+keystore.trust.store.password=wso2carbon
+#keystore.trust.store.secretProvider=&lt;any implementation of 
org.apache.synapse.commons.security.secret.SecretCallbackHandler&gt;
+</pre>
+
+<p><strong>cipher-text.properties</strong></p>
+
+<p></p>
+<pre>aliases=esb
+
+# configuration  per each plaintext
+esb.secret=M6U74dMVvRm4XFMczki2qZ6CsTvnUuRTjSditlACR5vTISSMI7F/mCTVJGOGdKJjij+VWVhBtmAOkElyvR9TwlUECnZ1o5DNsTK6l8je+9amc/ziTQLP3Q1tzm/Ex1pzHsG6jPGGrv3O0B9pZTfYFqRvlcNhM7Ve3WvA3ibs4Yk=
+esb.secret.alias=wso2carbon
+esb.secret.keystore=identity</pre>
 
 <p></p>
 

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to