Password is logged in api server logs while creating a storage pool and while
adding an image store of type SMB. Cleaning the message before logging.
CLOUDSTACK-6926 setting java_home from installed java

changed the order of preference to check for java first.

Usage server rpm installs JRE 1.7. In the case where JDK 1.6 is already
installed, java version would be 1.7 but, javac would be 1.6
If javac is given preference, usage server fails to start in this case.
CLOUDSTACK-7370: Fixed password visible in plain text if password passed is in the end in url
developer: enable saml plugin for developers by default

Deploydb with a -P developer profile will run developer-prefill, in that we
enable the SAML plugin by default but only for developers

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAMLMetaDataResponse: this should extend AuthenticationCmdResponse

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
saml2: WIP X509 certificate auth stuff

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit f7d409e0f4d2b6f56ec82ae339eff5f477e4a832)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
utils: add methods to save and load public and private keys

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAMLUtils: Fix NPE incase signature is generated with a null privateKey

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
utils: add missing string to the url in generate saml signature method

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAML2AuthManager: add new methods to the interface

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAML2AuthManagerImpl: create or load keystore dao

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
GetServiceProviderMetaDataCmd: in metadata use SP's own X509 certs

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAML2LoginAPIAuthenticatorCmd: add signature on redirect url

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAML2LoginAPIAuthenticatorCmd: Don't support HTTP artifact binding

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAMLUtils: put name id policy on authnrequest

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
systemvmtemplate: set next CLOUDSTACK_VERSION to 4.5.0

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
schema: add Upgrade431to440 that extends 430to440

This adds an upgrade path from 4.3.1 to 4.4.0, the implementation of which
simply extends the Upgrade430to440 as there was no schema change between 4.3.0
and 4.3.1

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 208399354fa82513e2fb70738cb6eee8454ea3a5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
DatabaseUpgradeChecker: add DB upgrade path from 4.3.1 to 4.5.0

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
debian: stop tomcat6 after installing cloudstack-management

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
CLOUDSTACK-7542:CreateNetworkCmd and CreateNetworkCmdByAdmin both have
their own "vlan" parameters.