tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Callender <abc_...@mac.com>
Subject Re: How to propagate security context from Jetty to OpenEJB?
Date Tue, 26 Jan 2010 07:22:41 GMT
David,

This is pretty heartening.  Is there any doco or example of how to use TomcatSecurityService.
Any config involved?

Regards,

Geoff

On 26/01/2010, at 2:01 PM, David Blevins [via OpenEJB] wrote:

> 
> On Jan 25, 2010, at 6:32 AM, Geoff Callender wrote: 
> 
> > I need advice on how to propagate the security context from (Jetty   
> > 6.1.6) to 
> > OpenEJB (3.1.1). My web pages can retrieve the Principal correctly   
> > but my 
> > EJB session bean methods only get "guest". Is this a known problem   
> > or am I 
> > doing something wrong? 
> 
> It's not really a "problem" as much there is no OpenEJB/Jetty   
> integration yet, so the two simply don't know that each other exists. 
> 
> It might not be that hard to write the security part.  The Tomcat   
> related security code is actually pretty small. 
> 
> Bascially we just need a class like this one that wires the Jetty   
> security service into OpenEJB: 
> 
>   http://svn.apache.org/repos/asf/openejb/trunk/openejb3/assembly/openejb-tomcat/openejb-tomcat-catalina/src/main/java/org/apache/openejb/tomcat/catalina/TomcatSecurityService.java
> 
> 
> -David 
> 
> -- 
> http://blog.dblevins.com/
> http://twitter.com/dblevins
> Support OpenEJB with Tweets! 
> 
> 
> 
> View message @ http://n4.nabble.com/How-to-propagate-security-context-from-Jetty-to-OpenEJB-tp1289042p1290030.html

> To unsubscribe from How to propagate security context from Jetty to OpenEJB?, click here.
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message