grouper-users - Re: [grouper-users] Show/Hide links
Subject: Grouper Users - Open Discussion List
List archive
- From: "Sachdeva, Vivek" <>
- To: Chris Hyzer <>
- Cc: "" <>
- Subject: Re: [grouper-users] Show/Hide links
- Date: Mon, 28 Jul 2014 22:23:10 +0000
- Accept-language: en-US
Thanks Chris!
It worked fine but I had to catch IllgealStateException coming out of GrouperSession.staticGrouperSession() from the isWheelOrRoot method. Exception is thrown only when non wheel members try to log in.
Hope it does not cause any issues later.
Vivek
From: Chris Hyzer <>
Date: Mon, 28 Jul 2014 22:08:28 +0000 To: vivek sachdeva <>, "" <> Subject: RE: [grouper-users] Show/Hide links I think the GrouperUiFilter might be better since it is called for all the UIs. Otherwise sounds good. Thanks, Chris From:
[]
On Behalf Of Sachdeva, Vivek Hi, I need to show/hide some links based on if the logged in user is root/wheel group member or not. PrivilegeHelper class has method isWheelOrRoot(Subject
subject). If I change the LoginCheckFilter and add another session attribute something like: Session.setAttribute("RootOrWheel", true|false) And then read it on the jsp pages to decide if the links/buttons should be shown or not. What do you think, is this a good idea ?? Any other ideas?? Thanks Vivek |
- [grouper-users] Show/Hide links, Sachdeva, Vivek, 07/28/2014
- RE: [grouper-users] Show/Hide links, Chris Hyzer, 07/28/2014
- Re: [grouper-users] Show/Hide links, Sachdeva, Vivek, 07/28/2014
- Re: [grouper-users] Show/Hide links, Sachdeva, Vivek, 07/30/2014
- RE: [grouper-users] Show/Hide links, Chris Hyzer, 07/30/2014
- Re: [grouper-users] Show/Hide links, Sachdeva, Vivek, 07/30/2014
- RE: [grouper-users] Show/Hide links, Chris Hyzer, 07/31/2014
- Re: [grouper-users] Show/Hide links, Sachdeva, Vivek, 07/31/2014
- RE: [grouper-users] Show/Hide links, Chris Hyzer, 07/31/2014
- Re: [grouper-users] Show/Hide links, Sachdeva, Vivek, 07/30/2014
- RE: [grouper-users] Show/Hide links, Chris Hyzer, 07/30/2014
- Re: [grouper-users] Show/Hide links, Sachdeva, Vivek, 07/30/2014
- Re: [grouper-users] Show/Hide links, Sachdeva, Vivek, 07/28/2014
- RE: [grouper-users] Show/Hide links, Chris Hyzer, 07/28/2014
Archive powered by MHonArc 2.6.16.