Thank you, David

I'll try to take a look at this as soon as possible... and I'll tell you if I manage to do what I'm trying or not...

Regards,
Enrique

David Sean Taylor escribió:


Enrique Perez wrote:
Hi all,

I'm trying to merge a webapp (that defines its own roles) with J2 (which has its own roles also)... and I was wondering how can I say to J2: "the roles you have to look for are those ones from this webapp..." (supposed that those roles are well known or I can get access to that information) Instead of creating them one by one with the proper j2-admin portlet, I was wondering how can I modify that portlet to let it know which roles are defined... I mean, how can I put those roles inside J2 so they come up out-of-the-box with J2... (and nobody needs to do anything special)
I don't know if I made myself clear (my English is quite bad... =/)

Can anyone give me some insight in that matter?
Maybe modifying "security_role" and "security_role_reference" in database? =/ It's just a suggestion, I really don't know...

There are two ways you can do this:

1. light-weight integration - write your own custom security valve and populate the roles in the subject in your custom security valve


2. full integration - implement your own Role Security Handler

See documentation here on how to do this:

http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/high-level-services.html http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/config.html http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/atz-spi.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to