Author: jleroux
Date: Thu Feb  8 15:01:54 2018
New Revision: 1823562

URL: http://svn.apache.org/viewvc?rev=1823562&view=rev
Log:
No functional change, just better syntax

Modified:
    
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ExternalLoginKeysManager.java

Modified: 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ExternalLoginKeysManager.java
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ExternalLoginKeysManager.java?rev=1823562&r1=1823561&r2=1823562&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ExternalLoginKeysManager.java
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ExternalLoginKeysManager.java
 Thu Feb  8 15:01:54 2018
@@ -183,7 +183,7 @@ public class ExternalLoginKeysManager {
         HttpSession session = request.getSession();
 
         // The target server does not allow external login by default
-        boolean useExternalServer = 
"Y".equals(EntityUtilProperties.getPropertyValue("security", 
"use-external-server", "N", delegator));
+        boolean useExternalServer = 
EntityUtilProperties.getPropertyAsBoolean("security", "use-external-server", 
false);
         String sourceWebappName = 
request.getParameter(SOURCE_SERVER_WEBAPP_NAME); 
         if (!useExternalServer || sourceWebappName == null) return "success"; 
// Nothing to do here
 


Reply via email to