Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Elijah "Ellie" Mangason
authenticate user without displaying login.jsp during CreateAccount
4. Juni 2012 15:22
Antwort

Elijah "Ellie" Mangason

Rang: Junior Member

Nachrichten: 67

Eintrittsdatum: 14. Mai 2012

Neue Beiträge

In the CreateAccount workflow, our requirement is to automatically log the user in withouth displaying login.jsp. The idea is to move from the first page (create_account.jsp) which collects screenName, firstName, emailAddress, etc., directly to the Terms of Use page (update_terms_of_use.jsp), then on to new_password, etc. Is there a way to go directly to the action phase of login.jsp? Would ActionURL work? Any help or suggestions are greatly appreciated.
Apoorva Prakash
RE: authenticate user without displaying login.jsp during CreateAccount
4. Juni 2012 22:23
Antwort

Apoorva Prakash

Rang: Liferay Master

Nachrichten: 659

Eintrittsdatum: 15. Juni 2010

Neue Beiträge

Hi Elijah,

You have to create a hook for terms_of_use.jsp with the help of login.jsp or you may do the reverse - get the terms_of_use,jsp content in login.jsp.

Hope this will help.
Thanks and Regards,
Apoorva Prakash
Elijah "Ellie" Mangason
RE: authenticate user without displaying login.jsp during CreateAccount
5. Juni 2012 08:12
Antwort

Elijah "Ellie" Mangason

Rang: Junior Member

Nachrichten: 67

Eintrittsdatum: 14. Mai 2012

Neue Beiträge

Thanks, Apoorva, for your response. I already developed a hook to customize other parts of the CreateAccount process. It's just that the requirement now is to have the user automatically authenticated, bypassing login.jsp completely. Is there a way to execute LoginAction without displaying login.jsp? Would this be accomplished through what you have suggested, i.e. putting the content of terms_of_use.jsp in login.jsp? If so, how? Thanks in advance for any thoughts or advice.
Jelmer Kuperus
RE: authenticate user without displaying login.jsp during CreateAccount
5. Juni 2012 14:55
Antwort

Jelmer Kuperus

Rang: Liferay Legend

Nachrichten: 1192

Eintrittsdatum: 10. März 2010

Neue Beiträge

If you pass along a redirect parameter when registering the user, then the user will automatically be logged in after registeration
Elijah "Ellie" Mangason
RE: authenticate user without displaying login.jsp during CreateAccount
6. Juni 2012 08:42
Antwort

Elijah "Ellie" Mangason

Rang: Junior Member

Nachrichten: 67

Eintrittsdatum: 14. Mai 2012

Neue Beiträge

Thanks so much for your response, I'm really new to Liferay - could you kindly give some of the details? Specifically, what constitutes "registering" the user? Also, where does the redirect parameter go - jsp or action file - and what is the content of the redirect? Thanks for whatever info you care to pass along, it is much appreciated, and code snippets would be great!
salah eddine
RE: authenticate user without displaying login.jsp during CreateAccount
24. Juni 2012 11:24
Antwort

salah eddine

Rang: New Member

Nachrichten: 3

Eintrittsdatum: 15. Juni 2012

Neue Beiträge

Elijah Mangason:
Thanks so much for your response, I'm really new to Liferay - could you kindly give some of the details? Specifically, what constitutes "registering" the user? Also, where does the redirect parameter go - jsp or action file - and what is the content of the redirect? Thanks for whatever info you care to pass along, it is much appreciated, and code snippets would be great!



Hi, friend did you get a solution for your problem????
Elijah "Ellie" Mangason
RE: authenticate user without displaying login.jsp during CreateAccount
25. Juni 2012 14:09
Antwort

Elijah "Ellie" Mangason

Rang: Junior Member

Nachrichten: 67

Eintrittsdatum: 14. Mai 2012

Neue Beiträge

I put the problem aside for a short time while I work on something else. Do you have a solution?
salah eddine
RE: authenticate user without displaying login.jsp during CreateAccount
27. Juni 2012 06:57
Antwort

salah eddine

Rang: New Member

Nachrichten: 3

Eintrittsdatum: 15. Juni 2012

Neue Beiträge

me too