Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Authorization in a RAP application
Authorization in a RAP application [message #111206] Tue, 04 November 2008 07:25 Go to next message
Eclipse UserFriend
Originally posted by: spanprevention-nursubscriptions.gmail.com

Hi,

Looking for suggestions to implement authorization in a RAP application.
The requirement is (at its finest granularity) to disable/make invisible
certain menu items depending on the user role of the logged-in user.
Certain views and perspectives are also to be restricted.

What do the RAP team and other RAP users suggest?

1. I think the Activities mechanism will not fit the bill in a
multi-session environment.
2. Is there some support for JAAS authorization?
3. Any other mechanism?

Any pointers/suggestions are highly appreciated.

TIA,
Best Regards,
-abhi
Re: Authorization in a RAP application [message #111219 is a reply to message #111206] Tue, 04 November 2008 11:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spanprevention-nursubscriptions.gmail.com

Can OSGi UserAdmin service be an alternative for implementing
authorization? If so, how and where would one plug it into a RAP
application?

TIA,
Best Regards,
-abhi
Re: Authorization in a RAP application [message #112009 is a reply to message #111206] Mon, 10 November 2008 18:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi,

Activities as they are implemented in RAP are session-aware. Thus
they should serve the purpose of hiding/disabling UI parts.

Cheers,
Rüdiger

abhi wrote:
> Hi,
>
> Looking for suggestions to implement authorization in a RAP application.
> The requirement is (at its finest granularity) to disable/make invisible
> certain menu items depending on the user role of the logged-in user.
> Certain views and perspectives are also to be restricted.
>
> What do the RAP team and other RAP users suggest?
> 1. I think the Activities mechanism will not fit the bill in a
> multi-session environment. 2. Is there some support for JAAS
> authorization? 3. Any other mechanism?
>
> Any pointers/suggestions are highly appreciated.
>
> TIA,
> Best Regards,
> -abhi
>
>
Re: Authorization in a RAP application [message #112075 is a reply to message #112009] Tue, 11 November 2008 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spanprevention-nursubscriptions.gmail.com

Hi,

Thanks a lot for the info! This might be the lifeline i am seeking.

I can imagine the following flow:
Login Screen --> Authentication (using JAAS APIs) --> Store role in
Session --> UI Authorization (hide/unhide Menu parts using Activities that
in turn, use the role stored in the HTTP Session)

Is the above feasible? How can i use information stored in the session
while using Activities?

TIA,
Best Regards,
-abhi
Re: Authorization in a RAP application [message #112116 is a reply to message #112075] Tue, 11 November 2008 12:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi,

I came across two link regarding activities. The latter might be
especially useful as the outlined use-case is similar to yours.
http://pookzilla.net/wp/2006/10/context-capability-and-persp ective/
http://blog.rcp-company.com/2007/06/using-activities-for-use r-management.html

HTH
Rüdiger

abhi wrote:
> Hi,
>
> Thanks a lot for the info! This might be the lifeline i am seeking.
>
> I can imagine the following flow:
> Login Screen --> Authentication (using JAAS APIs) --> Store role in
> Session --> UI Authorization (hide/unhide Menu parts using Activities
> that in turn, use the role stored in the HTTP Session)
>
> Is the above feasible? How can i use information stored in the session
> while using Activities?
> TIA,
> Best Regards,
> -abhi
>
>
Re: Authorization in a RAP application [message #112354 is a reply to message #112116] Thu, 13 November 2008 16:48 Go to previous message
Eclipse UserFriend
Originally posted by: spanprevention-nursubscriptions.gmail.com

Hallo Ruediger,

Thanks a lot for the links. They have been quite helpful; As you rightly
indicated, i was able to use Activities as desired, following the outline
provided in the 2nd link. Subsequently i have posted another question on
the forum related to security :-)

Thanks again!

Best Regards,
-abhi
Previous Topic:WrapData of Section and its description
Next Topic:CCombo support in RWT?
Goto Forum:
  


Current Time: Fri Mar 29 02:22:13 GMT 2024

Powered by FUDForum. Page generated in 0.05245 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top