Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Login page navigation

29 views
Skip to first unread message

sand...@gmail.com

unread,
Nov 26, 2009, 5:13:56 AM11/26/09
to
Hi

We have done login portlet customization in WebSphere Portal v6.1 using RAD 7.5
After successful login, how can i navigate to separate pages according to the user previleges ie according to the user roles-groups.

Please help me in finding solution

Thanks

sand...@gmail.com

unread,
Nov 26, 2009, 5:14:10 AM11/26/09
to

Neeraj Sidhaye

unread,
Nov 26, 2009, 6:33:23 AM11/26/09
to
With AuthenticationFilter you can redirect users to repective pages after login.
Have a look at my article on *[AuthenticationFilter Scenarios and implementation|http://extremeportal.blogspot.com/2009/06/authentication-filter-implementation-in.html]*

hope that helps...
**
*[Extreme Portal|http://ExtremePortal.blogspot.com]*

decoursey

unread,
Nov 30, 2009, 12:53:14 PM11/30/09
to
Please go to this link and click ont puma scenarios.pdf available. This information should answer your question.
Thanks.
http://www.ibm.com/developerworks/websphere/zones/portal/proddoc/dw-w-pumascenarios/index.html

JMW98

unread,
Nov 30, 2009, 1:41:26 PM11/30/09
to
You might not have to write an authentication filter. You might be able to set different default authenticated pages based on group membership. Refer to this technote:

http://www.ibm.com/support/docview.wss?rs=688&ca=portall2&uid=swg21381183

It would depend on how your groups are set up.

Neeraj Sidhaye

unread,
Nov 30, 2009, 11:50:28 PM11/30/09
to
This technote
http://www.ibm.com/support/docview.wss?rs=688&ca=portall2&uid=swg21381183
will set *default landing page for all authenticated users* and *requirement is about*
*setting separate pages according to the user privileges*.

As i understood from requirement, different authenticated users(groups) will have different landing pages.
If this is the case, then i think Authentication Filter should be right choice to go with.

please correct me if i am wrong..

thanks..

dillibabu

unread,
Dec 1, 2009, 2:59:59 AM12/1/09
to
Attach File Contains Details How to Forward to a page after Logging.

Neeraj Sidhaye

unread,
Dec 1, 2009, 5:01:38 AM12/1/09
to
Could you tell me what piece of code in your sample (TestLoginPortlet.java) is deciding factor for landing of different portal pages based on user login?

Neeraj Sidhaye

unread,
Dec 1, 2009, 8:18:22 AM12/1/09
to
Nice explanation....i got it now
Appreciated...

thanks much again..

JMW98

unread,
Dec 1, 2009, 8:01:23 AM12/1/09
to
Whereas the technote explains:

"Assign access rights to NewPage2 appropriately (generally, ensure All Authenticated Portal Users is in the Privileged User role)"

you could just as well assign access rights based on group membership. For example, if your pages' ordinals were ordered from lowest to highest:


Page Group with access
_____________________________

PageC GroupC
PageB GroupB
PageA GroupA
Login Anonymous Portal User

then unauthenticated users would see the login page, users in GroupA would see PageA, users in GroupB would see PageB, and users in GroupC would see PageC. "All Authenticated Portal Users" is just a special group encompassing all users who are logged in. Portal does not require that you use "All Authenticated Portal Users" when assigning access rights. The bottom line is that by default users will see the lowest ordinal page to which they have access. Let me know if you have questions.

JMW98

unread,
Dec 1, 2009, 8:04:06 AM12/1/09
to
The formatting on my last post makes it unclear. What I meant was:


PageC (only GroupC has access)
PageB (only GroupB has access)
PageA (only GroupA has access)
Login (Anonymous Portal User has access)

dhanjal...@gmail.com

unread,
Dec 7, 2009, 6:11:45 AM12/7/09
to

Hi,
Create the different user-roles as per your requirement and then
create and drop the user as per the user roles and then set the pages
as you want for different set of users.
(USE WPS ADMIN)

0 new messages