Re: [Dev] [API-M] Exception occurs while testing the Encrypting passwords process

2015-01-20 Thread Nirdesha Munasinghe
Thanks for bringing this up. I verified with Lakmali and removed the
content. Also added a note saying that we cannot encrypt the passwords of
registry resources ATM.

On Fri, Jan 16, 2015 at 5:21 PM, Lakmali Baminiwatta lakm...@wso2.com
wrote:

 Hi Kala,

 On 16 January 2015 at 15:13, Kala Weerawardana k...@wso2.com wrote:

 Hi,

 I followed the Encrypting passwords documentation at [1] to test the
 scenario.

 While doing that I got the below mentioned exception.

 Exception in thread main org.wso2.ciphertool.CipherToolException:
 Element for secret alias
 'APIManager.WorkFlowExtensions.ApplicationCreation.Password' can not be
 found in api-manager.xml file or You have entered invalid Xpath value

 at org.wso2.ciphertool.CipherTool.handleException(CipherTool.java:882)

 at
 org.wso2.ciphertool.CipherTool.writeTokenToConfigFile(CipherTool.java:501)

 at
 org.wso2.ciphertool.CipherTool.writeSecureVaultConfigTokens(CipherTool.java:395)

 at org.wso2.ciphertool.CipherTool.main(CipherTool.java:83)


 And looking in to it I figured out that this has a new implementation as
 it is moved on to registry. So this content should be removed from the
 documentation as well. [2]


 +1. Yes we need to.


 How is secure vault testing with workflows done now?


 Since the workflow configuration file is moved to registry, now we don't
 have a password encryption related functionality on that.

 Thanks,
 Lakmali

 And is there a documentation I can refer to test this flow?

 [1] - https://docs.wso2.com/display/AM170/Encrypting+Passwords

 [2] - https://wso2.org/jira/browse/DOCUMENTATION-1413


 Thanks  Regards,
 Kala
 https://docs.wso2.com/display/AM170/Encrypting+Passwords--
 Kala C. Weerawardana
 *Software Engineer - QA Team*
 *WSO2 Inc. *
 Mobile :  +94 (0) 716189886 +94 (0) 772877683
 k...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Lakmali Baminiwatta
  Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

Thanks,

Nirdesha Munasinghe,
WSO2 Inc.
Web:http://wso2.com

Mobile: +94 776321920
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [API-M] Exception occurs while testing the Encrypting passwords process

2015-01-16 Thread Lakmali Baminiwatta
Hi Kala,

On 16 January 2015 at 15:13, Kala Weerawardana k...@wso2.com wrote:

 Hi,

 I followed the Encrypting passwords documentation at [1] to test the
 scenario.

 While doing that I got the below mentioned exception.

 Exception in thread main org.wso2.ciphertool.CipherToolException:
 Element for secret alias
 'APIManager.WorkFlowExtensions.ApplicationCreation.Password' can not be
 found in api-manager.xml file or You have entered invalid Xpath value

 at org.wso2.ciphertool.CipherTool.handleException(CipherTool.java:882)

 at
 org.wso2.ciphertool.CipherTool.writeTokenToConfigFile(CipherTool.java:501)

 at
 org.wso2.ciphertool.CipherTool.writeSecureVaultConfigTokens(CipherTool.java:395)

 at org.wso2.ciphertool.CipherTool.main(CipherTool.java:83)


 And looking in to it I figured out that this has a new implementation as
 it is moved on to registry. So this content should be removed from the
 documentation as well. [2]


+1. Yes we need to.


 How is secure vault testing with workflows done now?


Since the workflow configuration file is moved to registry, now we don't
have a password encryption related functionality on that.

Thanks,
Lakmali

 And is there a documentation I can refer to test this flow?

 [1] - https://docs.wso2.com/display/AM170/Encrypting+Passwords

 [2] - https://wso2.org/jira/browse/DOCUMENTATION-1413


 Thanks  Regards,
 Kala
 https://docs.wso2.com/display/AM170/Encrypting+Passwords--
 Kala C. Weerawardana
 *Software Engineer - QA Team*
 *WSO2 Inc. *
 Mobile :  +94 (0) 716189886 +94 (0) 772877683
 k...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Lakmali Baminiwatta
 Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev