code: @Given("^I( do not)? set sso token using host '(.+?)' with user '(.+?)' and password '(.+?)'( and tenant '(.+?)')?$")
      public void setGoSecSSOCookie(String set, String ssoHost, String userName, String passWord, String foo, String tenant) throws Exception {
          if (set == null) {
              HashMap<String, String> ssoCookies = new GosecSSOUtils(ssoHost, userName, passWord, tenant).ssoTokenGenerator();
              String[] tokenList = {"user", "dcos-acs-auth-cookie"};
              List<com.ning.http.client.cookie.Cookie> cookiesAtributes = addSsoToken(ssoCookies, tokenList);
  
              commonspec.setCookies(cookiesAtributes);
          }
      }
docs: Generate token to authenticate in gosec SSO
  
  @param ssoHost  current sso host
  @param userName username
  @param passWord password
  @throws Exception exception