anchor.diff:          }
   
           serviceProviderDTO.setAssertionConsumerUrls(SAMLSSOUIUtil.getSafeInput(request, "assertionConsumerURLs")
  -                                                            .split(","));
  +                .split(","));
           serviceProviderDTO.setDefaultAssertionConsumerUrl(SAMLSSOUIUtil.getSafeInput(request,
  -                                                                                     "defaultAssertionConsumerURL"));
  -
  -        if ("true".equals(request.getParameter(SAMLSSOUIConstants.ENABLE_SINGLE_LOGOUT))) {
  +                "defaultAssertionConsumerURL"));
  +
  +        if (Boolean.parseBoolean(request.getParameter(SAMLSSOUIConstants.ENABLE_SINGLE_LOGOUT))) {
               serviceProviderDTO.setDoSingleLogout(true);
               if (StringUtils.isNotBlank(request.getParameter(SAMLSSOUIConstants.SLO_RESPONSE_URL))) {
                   serviceProviderDTO.setSloResponseURL(request.getParameter(SAMLSSOUIConstants.SLO_RESPONSE_URL));
  
positive.code: 
  
  <%
  	String backendServerURL;
      ConfigurationContext configContext;
      String cookie;
      String user = null;
  
negative.code: 
          serviceProviderDTO.setAttributeConsumingServiceIndex(SAMLSSOUIUtil.getSafeInput(request, "attributeConsumingServiceIndex"));
  
          if (Boolean.parseBoolean(request.getParameter(SAMLSSOUIConstants.ENABLE_IDP_INIT_SSO))) {
              serviceProviderDTO.setIdPInitSSOEnabled(true);
          }
  
          if (Boolean.parseBoolean(request.getParameter(SAMLSSOUIConstants.ENABLE_IDP_INIT_SLO))) {
              serviceProviderDTO.setIdPInitSLOEnabled(true);
              String returnToUrls = SAMLSSOUIUtil.getSafeInput(request, "idpInitSLOReturnToURLs");
              if (StringUtils.isNotBlank(returnToUrls)) {
                  serviceProviderDTO.setIdpInitSLOReturnToURLs(returnToUrls.split(","));
              }
          }
  
          if (Boolean.parseBoolean(request.getParameter(SAMLSSOUIConstants.ENABLE_ENC_ASSERTION))) {
              serviceProviderDTO.setDoEnableEncryptedAssertion(true);
              serviceProviderDTO.setCertAlias(SAMLSSOUIUtil.getSafeInput(request, "alias"));
          }
  
          if (Boolean.parseBoolean(request.getParameter(SAMLSSOUIConstants.ENABLE_SIG_VALIDATION))) {
              serviceProviderDTO.setDoValidateSignatureInRequests(true);
              serviceProviderDTO.setCertAlias(SAMLSSOUIUtil.getSafeInput(request, "alias"));
          }
  