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>