Fórumok

Liferay integration with Janrain Engage

Kyle Hawke, módosítva 13 év-val korábban

Liferay integration with Janrain Engage

New Member Bejegyzések: 2 Csatlakozás dátuma: 2010.03.17. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Liferay integration with Janrain Engage

Regular Member Bejegyzések: 119 Csatlakozás dátuma: 2012.01.27. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Liferay integration with Janrain Engage

Liferay Legend Bejegyzések: 1261 Csatlakozás dátuma: 2008.10.02. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Liferay integration with Janrain Engage

Regular Member Bejegyzések: 119 Csatlakozás dátuma: 2012.01.27. Legújabb bejegyzések
on its way, we're quite busy right now with publishing something else. give me one or two weeks.
ciau
thumbnail
mohammad azaruddin, módosítva 9 év-val korábban

RE: Liferay integration with Janrain Engage

Expert Bejegyzések: 492 Csatlakozás dátuma: 2012.09.17. Legújabb bejegyzések
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, módosítva 8 év-val korábban

RE: Liferay integration with Janrain Engage

New Member Bejegyzések: 5 Csatlakozás dátuma: 2015.02.13. Legújabb bejegyzések

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.