Pinned topic calling a page after portal login using WPF
now when i click on submit button(in Page builder A) then the call goes to a java(LJO) file for login and the portal login service redirect the request to homepage(myportal)
But before redirecting it to homepage i have to render another page(Page Builder B in same portlet)...so how can i achieve this.
Re: calling a page after portal login using WPF2010-03-17T16:59:01ZThis is the accepted answer. This is the accepted answer.I've never built a custom WP login portlet and don't know what's involved in doing so, and it's unclear based on your description what you want to do on that second login portlet page (eg, do you need more info from the user to authenticate them or were you just going to display something there for the user to read?), but my guess is that when you tell the portal login service that the user is authenticated (or ask it to authenticate them) that's when "it" decides to redirect you to the default portal page (not WPF). So it would seem that you would need to defer when you're calling that login service to an action performed from the second login portlet page, no?
SystemAdmin 110000D4XK9029 Posts
Re: calling a page after portal login using WPF2010-03-18T06:17:14ZThis is the accepted answer. This is the accepted answer.
- mburati 060000VQ20
In this portlet i have created a view jsp and java(which call login service) file, now what i have done is when the user click submit button(in view jsp page) then the call goes to the java file(LJO) for login then after login(using portal's login service) i have to redirect it to another jsp page which will just set the user information(username & password) in cookies(we will not display anything in 2nd jsp) and after setting the information in cookies it will again redirect the user to /wps/myportal.
If I will not follow the above approach then I have to set the cookies in homepage(wps/myportal) and we have different pages based on user's groups, so there will be huge dependency on these pages...thats why i am trying to create a 2nd jsp page which will play the role of setting the information in cookies and redirecting it to /wps/myportal.
Also suggest me if there is any other best approach to achieve this...
Re: calling a page after portal login using WPF2010-03-18T15:41:49ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
http://www-10.lotus.com/ldd/pfwiki.nsf/ should describe that.
As for how to make sure you go to the portal's default page at the right time, I guess that depends on whether you are controlling that via an exlicit redirect you are calling, or whether the login service is doing it for you. I haven't used the login service myself, so I'm not familiar with whether it's providing that access for you.
You might want to take a look at the following registration portlet, to see if it does what you need.
kachi 270004DF7Y23 Posts
Re: calling a page after portal login using WPF2014-08-07T04:58:46ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
I am also developing remember me feature in my custom login portlet.Can you please throw throw some idea and samples to implement this feature using WEF.
Re: calling a page after portal login using WPF2014-08-08T17:09:04ZThis is the accepted answer. This is the accepted answer.
- kachi 270004DF7Y
Please followup on this new question in the other thread posted with this same question at:
Also note, "SystemAdmin" is not an actual user posting here, but appears to be what the forum thread shows when the original poster (user id) of a thread followup no longer exists in the forum system (thus isn't likely reading the topic anymore).
I hope that info helps,
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.