Merge pull request #929 from karuturi/CLOUDSTACK-8951

[4.7] CLOUDSTACK-8951: validation for config param 
"remote.access.vpn.psk.length"throwing error for value < 8 and value > 256
right now, 8, 256 are hardcoded in the code. They should be moved to a
constant and has to be reused everywhere.

will update with test cases/testing later.

* pr/929:
  CLOUDSTACK-8951: validation for "remote.access.vpn.psk.length"

Signed-off-by: Remi Bergsma <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3f6d7796
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3f6d7796
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3f6d7796

Branch: refs/heads/master
Commit: 3f6d7796f1f43d1eab622f3922c1efcba68d911c
Parents: a323434 170a025
Author: Remi Bergsma <[email protected]>
Authored: Mon Nov 23 11:22:41 2015 +0100
Committer: Remi Bergsma <[email protected]>
Committed: Mon Nov 23 11:22:42 2015 +0100

----------------------------------------------------------------------
 .../com/cloud/configuration/ConfigurationManagerImpl.java   | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3f6d7796/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
----------------------------------------------------------------------

Reply via email to