|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Authentication and Authorization / OSGiAre there any good resources / documents on how to authenticate users in EasyBeans also, how does this integrate with OSGi with regard to authentication and authorization?
Thanks, Chad THIS EMAIL MESSAGE IS FROM THE TOPEKA PUBLIC SCHOOLS USD501 IN TOPEKA, KANSAS AND IS INTENDED ONLY FOR THE ADDRESSEE. THE INFORMATION CONTAINED HEREIN MAY BE CONFIDENTIAL. IF THIS EMAIL HAS MISTAKENLY BEEN SENT TO YOU, PLEASE DELETE IT AFTER NOTIFYING US OF THE ERROR BY REPLY EMAIL OR BY CALLING 785-295-3000. UNAUTHORIZED FORWARDING, PRINTING, COPYING, DISTRIBUTING OR USING THE INFORMATION IN THIS EMAIL MESSAGE IS STRICTLY PROHIBITED AND MAY BE UNLAWFUL. |
|
|
Re: Authentication and Authorization / OSGiEasyBeans alone do not provide any security realm to authenticate users
against. So it has to be used with with a "realm provider" (like JOnAS). EasyBeans "only" provides role based permission checking (ie the @AllowedRoles annotations) and a SimpleLoginModule that can be used with JAAS. --G CHAD SKINNER a écrit : > Are there any good resources / documents on how to authenticate users in EasyBeans also, how does this integrate with OSGi with regard to authentication and authorization? > > Thanks, > Chad > > THIS EMAIL MESSAGE IS FROM THE TOPEKA PUBLIC SCHOOLS USD501 IN TOPEKA, KANSAS AND IS INTENDED ONLY FOR THE ADDRESSEE. THE INFORMATION CONTAINED HEREIN MAY BE CONFIDENTIAL. IF THIS EMAIL HAS MISTAKENLY BEEN SENT TO YOU, PLEASE DELETE IT AFTER NOTIFYING US OF THE ERROR BY REPLY EMAIL OR BY CALLING 785-295-3000. UNAUTHORIZED FORWARDING, PRINTING, COPYING, DISTRIBUTING OR USING THE INFORMATION IN THIS EMAIL MESSAGE IS STRICTLY PROHIBITED AND MAY BE UNLAWFUL. > > > [Guillaume_Sauthier.vcf] begin:vcard fn:Guillaume Sauthier n:Sauthier;Guillaume org:<a href="http://www.ow2.org"><img title="OW2" alt="OW2 Consortium" border="0" src="http://www.ow2.org/xwiki/bin/skin/XWiki/DefaultSkin/logoOW2.png" /></a> adr:;;;;;;France email;internet:guillaume.sauthier@... title:<a href="http://jonas.ow2.org">JOnAS Application Server</a> x-mozilla-html:TRUE url:http://jonas.ow2.org version:2.1 end:vcard |
|
|
Re: Authentication and Authorization / OSGiI would like to implement a simple authentication and authorization system for OSGi that would work with EJB annotations. Unfortunately, in the past all I have done is to use these systems never implement them. I would like to provide a simple RBAC that would create the user's subject and populate it with the required roles.
Unfortunately, Security seems to be one of the least documented features in most systems and so I was wondering if anyone could point me at some good documentation or source code that I could read to see how the EJB authentication annotations are processed?
Thanks again,
-- Chad
>>> Guillaume Sauthier <Guillaume.Sauthier@...> 4/2/2009 11:40 AM >>>
EasyBeans alone do not provide any security realm to authenticate users against. So it has to be used with with a "realm provider" (like JOnAS). EasyBeans "only" provides role based permission checking (ie the @AllowedRoles annotations) and a SimpleLoginModule that can be used with JAAS. --G CHAD SKINNER a écrit : > Are there any good resources / documents on how to authenticate users in EasyBeans also, how does this integrate with OSGi with regard to authentication and authorization? > > Thanks, > Chad > > THIS EMAIL MESSAGE IS FROM THE TOPEKA PUBLIC SCHOOLS USD501 IN TOPEKA, KANSAS AND IS INTENDED ONLY FOR THE ADDRESSEE. THE INFORMATION CONTAINED HEREIN MAY BE CONFIDENTIAL. IF THIS EMAIL HAS MISTAKENLY BEEN SENT TO YOU, PLEASE DELETE IT AFTER NOTIFYING US OF THE ERROR BY REPLY EMAIL OR BY CALLING 785-295-3000. UNAUTHORIZED FORWARDING, PRINTING, COPYING, DISTRIBUTING OR USING THE INFORMATION IN THIS EMAIL MESSAGE IS STRICTLY PROHIBITED AND MAY BE UNLAWFUL. > > > THIS EMAIL MESSAGE IS FROM THE TOPEKA PUBLIC SCHOOLS USD501 IN TOPEKA, KANSAS AND IS INTENDED ONLY FOR THE ADDRESSEE. THE INFORMATION CONTAINED HEREIN MAY BE CONFIDENTIAL. IF THIS EMAIL HAS MISTAKENLY BEEN SENT TO YOU, PLEASE DELETE IT AFTER NOTIFYING US OF THE ERROR BY REPLY EMAIL OR BY CALLING 785-295-3000. UNAUTHORIZED FORWARDING, PRINTING, COPYING, DISTRIBUTING OR USING THE INFORMATION IN THIS EMAIL MESSAGE IS STRICTLY PROHIBITED AND MAY BE UNLAWFUL. |
|
|
Re: Re: Authentication and Authorization / OSGiI don't get what you want to do (your final goal). Is it the security
system you just talk about ? If so, the authorization part is already handled by easybeans (using JACC and Permission). What easybaens standalone does not provide is a security realm that can be used to perform authentication... If you want to contribute one ... :) --G CHAD SKINNER a écrit : > I would like to implement a simple authentication and authorization > system for OSGi that would work with EJB annotations. Unfortunately, > in the past all I have done is to use these systems never implement > them. I would like to provide a simple RBAC that would create the > user's subject and populate it with the required roles. > > Unfortunately, Security seems to be one of the least documented > features in most systems and so I was wondering if anyone could point > me at some good documentation or source code that I could read to see > how the EJB authentication annotations are processed? > > Thanks again, > -- Chad > > > >>> Guillaume Sauthier <Guillaume.Sauthier@...> 4/2/2009 > 11:40 AM >>> > EasyBeans alone do not provide any security realm to authenticate users > against. > So it has to be used with with a "realm provider" (like JOnAS). > > EasyBeans "only" provides role based permission checking (ie the > @AllowedRoles annotations) and a SimpleLoginModule that can be used with > JAAS. > --G > > CHAD SKINNER a écrit : > > Are there any good resources / documents on how to authenticate > users in EasyBeans also, how does this integrate with OSGi with regard > to authentication and authorization? > > > > Thanks, > > Chad > > > > THIS EMAIL MESSAGE IS FROM THE TOPEKA PUBLIC SCHOOLS USD501 IN > TOPEKA, KANSAS AND IS INTENDED ONLY FOR THE ADDRESSEE. THE > INFORMATION CONTAINED HEREIN MAY BE CONFIDENTIAL. IF THIS EMAIL HAS > MISTAKENLY BEEN SENT TO YOU, PLEASE DELETE IT AFTER NOTIFYING US OF > THE ERROR BY REPLY EMAIL OR BY CALLING 785-295-3000. UNAUTHORIZED > FORWARDING, PRINTING, COPYING, DISTRIBUTING OR USING THE INFORMATION > IN THIS EMAIL MESSAGE IS STRICTLY PROHIBITED AND MAY BE UNLAWFUL. > > > > > > > > ------------------------------------------------------------------------ > THIS EMAIL MESSAGE IS FROM THE TOPEKA PUBLIC SCHOOLS USD501 IN TOPEKA, > KANSAS AND IS INTENDED ONLY FOR THE ADDRESSEE. THE INFORMATION > CONTAINED HEREIN MAY BE CONFIDENTIAL. IF THIS EMAIL HAS MISTAKENLY > BEEN SENT TO YOU, PLEASE DELETE IT AFTER NOTIFYING US OF THE ERROR BY > REPLY EMAIL OR BY CALLING 785-295-3000. UNAUTHORIZED FORWARDING, > PRINTING, COPYING, DISTRIBUTING OR USING THE INFORMATION IN THIS EMAIL > MESSAGE IS STRICTLY PROHIBITED AND MAY BE UNLAWFUL. [Guillaume_Sauthier.vcf] begin:vcard fn:Guillaume Sauthier n:Sauthier;Guillaume org:<a href="http://www.ow2.org"><img title="OW2" alt="OW2 Consortium" border="0" src="http://www.ow2.org/xwiki/bin/skin/XWiki/DefaultSkin/logoOW2.png" /></a> adr:;;;;;;France email;internet:guillaume.sauthier@... title:<a href="http://jonas.ow2.org">JOnAS Application Server</a> x-mozilla-html:TRUE url:http://jonas.ow2.org version:2.1 end:vcard |
|
|
Re: Re: Re: Authentication and Authorization / OSGiIn EasyBeans, there is one LoginModule that can be used to take Identity
from the authenticated Subject and propagate it to the EasyBeans framework: http://fisheye.easybeans.org/browse/EasyBeans/trunk/easybeans/modules/security/src/main/java/org/ow2/easybeans/security/auth/spi/ClientLoginModule.java?r=4117 (It will extract Principal name from Principal.class object and the roles will be extracted from the Group.class contains in the subject) More details here: http://fisheye.easybeans.org/browse/EasyBeans/trunk/easybeans/modules/security/src/main/java/org/ow2/easybeans/security/propagation/context/SecurityContext.java?r=2556 Regards, Florent Guillaume Sauthier wrote: > I don't get what you want to do (your final goal). Is it the security > system you just talk about ? > If so, the authorization part is already handled by easybeans (using > JACC and Permission). What easybaens standalone does not provide is a > security realm that can be used to perform authentication... > > If you want to contribute one ... :) > --G > > CHAD SKINNER a écrit : >> I would like to implement a simple authentication and authorization >> system for OSGi that would work with EJB annotations. Unfortunately, >> in the past all I have done is to use these systems never implement >> them. I would like to provide a simple RBAC that would create the >> user's subject and populate it with the required roles. >> >> Unfortunately, Security seems to be one of the least documented >> features in most systems and so I was wondering if anyone could point >> me at some good documentation or source code that I could read to see >> how the EJB authentication annotations are processed? >> >> Thanks again, >> -- Chad >> >> >> >>> Guillaume Sauthier <Guillaume.Sauthier@...> 4/2/2009 >> 11:40 AM >>> >> EasyBeans alone do not provide any security realm to authenticate users >> against. >> So it has to be used with with a "realm provider" (like JOnAS). >> >> EasyBeans "only" provides role based permission checking (ie the >> @AllowedRoles annotations) and a SimpleLoginModule that can be used with >> JAAS. >> --G >> >> CHAD SKINNER a écrit : >> > Are there any good resources / documents on how to authenticate >> users in EasyBeans also, how does this integrate with OSGi with >> regard to authentication and authorization? >> > >> > Thanks, >> > Chad >> > >> > THIS EMAIL MESSAGE IS FROM THE TOPEKA PUBLIC SCHOOLS USD501 IN >> TOPEKA, KANSAS AND IS INTENDED ONLY FOR THE ADDRESSEE. THE >> INFORMATION CONTAINED HEREIN MAY BE CONFIDENTIAL. IF THIS EMAIL HAS >> MISTAKENLY BEEN SENT TO YOU, PLEASE DELETE IT AFTER NOTIFYING US OF >> THE ERROR BY REPLY EMAIL OR BY CALLING 785-295-3000. UNAUTHORIZED >> FORWARDING, PRINTING, COPYING, DISTRIBUTING OR USING THE INFORMATION >> IN THIS EMAIL MESSAGE IS STRICTLY PROHIBITED AND MAY BE UNLAWFUL. >> > >> > >> > >> ------------------------------------------------------------------------ >> THIS EMAIL MESSAGE IS FROM THE TOPEKA PUBLIC SCHOOLS USD501 IN >> TOPEKA, KANSAS AND IS INTENDED ONLY FOR THE ADDRESSEE. THE >> INFORMATION CONTAINED HEREIN MAY BE CONFIDENTIAL. IF THIS EMAIL HAS >> MISTAKENLY BEEN SENT TO YOU, PLEASE DELETE IT AFTER NOTIFYING US OF >> THE ERROR BY REPLY EMAIL OR BY CALLING 785-295-3000. UNAUTHORIZED >> FORWARDING, PRINTING, COPYING, DISTRIBUTING OR USING THE INFORMATION >> IN THIS EMAIL MESSAGE IS STRICTLY PROHIBITED AND MAY BE UNLAWFUL. > |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |