Foros de discusión

Liferay integration with Janrain Engage

Kyle Hawke, modificado hace 13 años.

Liferay integration with Janrain Engage

New Member Mensajes: 2 Fecha de incorporación: 17/03/10 Mensajes recientes
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, modificado hace 11 años.

RE: Liferay integration with Janrain Engage

Regular Member Mensajes: 119 Fecha de incorporación: 27/01/12 Mensajes recientes
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, modificado hace 11 años.

RE: Liferay integration with Janrain Engage

Liferay Legend Mensajes: 1261 Fecha de incorporación: 2/10/08 Mensajes recientes
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, modificado hace 11 años.

RE: Liferay integration with Janrain Engage

Regular Member Mensajes: 119 Fecha de incorporación: 27/01/12 Mensajes recientes
on its way, we're quite busy right now with publishing something else. give me one or two weeks.
ciau
thumbnail
mohammad azaruddin, modificado hace 9 años.

RE: Liferay integration with Janrain Engage

Expert Mensajes: 492 Fecha de incorporación: 17/09/12 Mensajes recientes
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, modificado hace 8 años.

RE: Liferay integration with Janrain Engage

New Member Mensajes: 5 Fecha de incorporación: 13/02/15 Mensajes recientes

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.