[ 
https://issues.apache.org/jira/browse/SYNAPSE-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003943#comment-13003943
 ] 

asela pathberiya edited comment on SYNAPSE-735 at 3/8/11 1:59 PM:
------------------------------------------------------------------

Hi Indika,

Thanks for your feedback..  proposed configuration is something as follows, 
which would be able to configure multiple password providers as well as a 
secret repository. Please correct me, if there are any issues or improvements  

<foo  xmlns:svns1="http://org.apache.synapse/secureVault/defaultprovider"; 
xmlns:svns2="http://org.apache.synapse/secureVault/testprovider>

       <svns1:SecureValut 
provider="org.apache.synapse.securevault.DefaultProvider"/>

       <svns2:SecureValut 
provider="org.apache.synapse.securevault.TestPasswordProvider">
              <svns2:Repository 
provider="org.apache.synapse.securevault.secret.repository.FileBaseSecretRepositoryProvider">
                    <svns2: Property name="location" 
>/home/asela/test.txt</Property>
              </svns2:Repository>
       </svns2:SecureValut>

       <password svns1:secureVaultAlias="user.password"/>

       <password svns2:secureVaultAlias="connection.password"/>

</foo>

Thanks,
Asela.

      was (Author: asela):
    Hi Indika,

Thanks for your feedback..  proposed configuration is something as follows, 
which would be able to configure multiple password providers as well as a 
secret repository. Please correct me, if there are any issues or improvements  

<foo  xmlns:svns1="http://org.apache.synapse/secureVault/defaultprovider"; 
xmlns:svns2="http://org.apache.synapse/secureVault/testprovider>

       <svns1:SecureValut 
provider="org.apache.synapse.securevault.DefaultProvider"/>

       <svns2:SecureValut 
provider="org.apache.synapse.securevault.DefaultProvider">
              <svns2:Repository 
provider="org.apache.synapse.securevault.secret.repository.FileBaseSecretRepositoryProvider">
                    <svns2: Property name="location" 
>/home/asela/test.txt</Property>
              </svns2:Repository>
       </svns2:SecureValut>

       <password svns1:secureVaultAlias="user.password"/>

       <password svns2:secureVaultAlias="connection.password"/>

</foo>

Thanks,
Asela.
  
> imporve password manager XML syntax which is defined in configuration files - 
> secure vault
> ------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-735
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-735
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1
>            Reporter: asela pathberiya
>             Fix For: FUTURE
>
>
> Xml syntax which must be configured for securing the passwords in xml files 
> some thing like follows
> <passwordManager>
>       <protectedTokens>AdminUser.Password</protectedTokens>
>       <passwordProvider>org.apache.synpaseTestProvider</passwordProvider>
> </passwordManager>
> It is better to rework to improve this xml syntax with namespace quilfied..

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to