svn commit: r1845141 - /ofbiz/ofbiz-plugins/trunk/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1845141 - /ofbiz/ofbiz-plugins/trunk/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java

jleroux@apache.org
Author: jleroux
Date: Mon Oct 29 16:56:20 2018
New Revision: 1845141

URL: http://svn.apache.org/viewvc?rev=1845141&view=rev
Log:
Implemented: Navigate from a domain to another with automated signed
in authentication
(OFBIZ-10307)

Forgot this with r1844880

Modified:
    ofbiz/ofbiz-plugins/trunk/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java

Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java?rev=1845141&r1=1845140&r2=1845141&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java Mon Oct 29 16:56:20 2018
@@ -233,6 +233,7 @@ public class JanrainHelper {
                 GenericValue userLogin = EntityQuery.use(delegator).from("UserLogin").where("userLoginId", preferredUsername).cache().queryOne();
                 if (userLogin != null) {
                     LoginWorker.doBasicLogin(userLogin, request);
+                    LoginWorker.createSecuredLoginIdCookie(request, response);
                     LoginWorker.autoLoginSet(request, response);
                     return "success";
                 } else {