CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly
CLOUDSTACK-4840: Automation test cases for LB for secondaruy IP
CLOUDSTACK-7415. Host remains in Alert after vCenter restart.
Management server PingTask should update PingMap entry for an agent only if it is already present in the Management Server's PingMap.
CLOUDSTACK-7417: Admin cannot archive or delete events for a deleted account.
Fixed few issues reproted by coverity.
CLOUDSTACK-7405: Make the trailing slash conditional for meta-data requests

This should fix the cloud-init issues described in this issue.
SAML2: add saml sso and slo apicmds skeleton, add classes to AuthManager

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
server: add opensaml as dependency

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAML: WIP redirections work now

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
ApiServer: change loginUser method signature to return ResponseObject

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
DefaultLoginAPIAuthenticatorCmd: move createLoginResponse to ApiServer

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAML2LoginAPIAuthenticatorCmd: Implement SAML SSO using HTTP Redirect binding

- Creates SAMLRequest and uses HTTP redirect binding (uses GET/302)
- Redirects to IdP for auth
- On successful auth, check for assertion
- Tries to get attributes based on standard LDAP attribute names
- Next, gets user using EntityManager, if not found creates one with NameID as UUID
- Finally tries to log in and redirect

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
ApiServlet: Fix NPE while inserting to auditTrail

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
ui: Unbox extra quotes from sessionKey cookie value

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
SAML2LoginAPIAuthenticatorCmd: Set all necessary cookies and redirect to UI

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Minor fixes

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
ui: refactor and use a unified unboxing helping method in cloudStack.js

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
utils: refactor and aggregate methods in SAMLUtils

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Maven: add opensaml 2.6.1 version id in pom.xml

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
saml: move refactor files from server to api module

- Move interfaces and classes from server to api module
- This can be then used for pluggable api authenticators

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>