Skip to Content
0
Former Member
Apr 03, 2008 at 01:06 PM

Same user, different menus based on location

37 Views

Hi,

Without custom development, is it possible to present different menus to the user based on a certain user attribute such as location?

Lets say a user is allocated role1role2. The user accesses the portal both from the office and from outside the office. When accessed from the office, the user is allowed to see all content as part of role1role2. But when accessed from outside the office, the user is allowed access to role2 only.

My initial impression was that a custome JAAS module might do the trick. But JAAS is for authentication and not for authorization. We need to dynamically switch authorization based on user's location.

The JAAS module can however be used to set something like a token based on user location which then might be used to dynamically adjust user role.

Any ideas???

Thanks and regards,

Shehryar