Forums de discussion

Liferay integration with Janrain Engage

Kyle Hawke, modifié il y a 13 années.

Liferay integration with Janrain Engage

New Member Publications: 2 Date d'inscription: 17/03/10 Publications récentes
Has anyone integrated Liferay with Janrain Engage for sign-in and APIs to popular social networking sites? If so, what did you learn?
Guenter Baumgart, modifié il y a 11 années.

RE: Liferay integration with Janrain Engage

Regular Member Publications: 119 Date d'inscription: 27/01/12 Publications récentes
yes,
it takes around 3 hours. here the guide :

1. download from jarain4j from Google code via svn !
2. make a hook to gather new created sessions (important!!) since liferay creates sessions a bit odd. use a simple map with key = sessionId and value = session
3. now create a servlet as done janrain4j's basic servlet (token servlet)
4. in that servlet you do pretty much as done in the liferay's facebook code. ie. update/create user
5. create another hook for autologin and read from the session you manipulated in your token servlet mentioned in 3. that needs additional shared session attributes in the portal properties btw.

If you still have trouble to read your session variables, disable phishing in portal.properties (sorry)
that's it !
thumbnail
Juan Fernández, modifié il y a 11 années.

RE: Liferay integration with Janrain Engage

Liferay Legend Publications: 1261 Date d'inscription: 02/10/08 Publications récentes
Cool, Guenter Baumgart!
Are you planning to contribute a plugin to the community with this feature? I think it can be interesting for all..
Thanks for sharing!
Guenter Baumgart, modifié il y a 11 années.

RE: Liferay integration with Janrain Engage

Regular Member Publications: 119 Date d'inscription: 27/01/12 Publications récentes
on its way, we're quite busy right now with publishing something else. give me one or two weeks.
ciau
thumbnail
mohammad azaruddin, modifié il y a 9 années.

RE: Liferay integration with Janrain Engage

Expert Publications: 492 Date d'inscription: 17/09/12 Publications récentes
Guenter Nobody:
on its way, we're quite busy right now with publishing something else. give me one or two weeks.
ciau



HI Guenter Nobody Is this plugin available now
Parth Pancholi, modifié il y a 8 années.

RE: Liferay integration with Janrain Engage

New Member Publications: 5 Date d'inscription: 13/02/15 Publications récentes

2. make a hook to gather new created sessions (important!!) since liferay creates sessions a bit odd. use a simple map with key = sessionId and value = session
3. now create a servlet as done janrain4j's basic servlet (token servlet)
4. in that servlet you do pretty much as done in the liferay's facebook code. ie. update/create user

Can you please Elobrate these steps for integrating the janrain with liferay?
I am using liferay6.2-ce-ga3 along with the Janrain4j-1.1.0.jar.