Guys,

I'm afraid that the JBoss-Jetty bundle has not yet
integrated JAAS.

I'm just finishing the ENC support using Scott's new
AbstractWebContainer. I hope to have that checked in
tonight (You will need Jetty3, Jetty3Extra and
contrib/jetty latest from CVS - Jetty is hosted on
SourceForge).

Once that is done, I shall be looking at the JAAS
integration.

Greg (Jetty maintainer) has just gone on holiday. He
told me that Jetty had SOME JAAS stuff in it, but we
haven't yet discussed the integration with JBoss. So I
wouldn't hold your breath.

As soon as I have had a look at what is involved I
shall let you know what the situation is. Until then,
please be patient !

Thanks for using jboss-jetty,


Jules

--- Han-Shen Yuan <[EMAIL PROTECTED]> wrote: > I've seen
this question posted, but alas no answers.
> 
> Per the instructions at
>
http://www.jboss.org/documentation/HTML/ch11s78.html,
> I have been able to
> secure my Jboss beans using a stand-alone java
> program.
> 
> However, copying the exact same code into a servlet
> hosted by my jboss-jetty
> configuration (a stock configuration distributed on
> the Jboss site), it
> fails to work!   The behavior that I'm noticing is
> that the
> "ClientLoginModule" is called as in the case with
> the stand-alone class,
> _but_the_server_side_LoginModule_is_NEVER_ called
> when run in this
> combination.
> 
> I have tried the following:
> 
> 1) Running bean and servlet in the same ear file
> 2) Running bean and servlet in separate ear files
> 3) Setting servlet java.security.auth.login.config
> to point to the SERVER
> auth file instead of the client (In this case, the
> server side login module
> is called, but the principal and roles are not
> passed to the bean).
> 
> If any of you have any ideas as to what might be
> happening, I would
> appreciate it greatly.  We really would like to run
> JBoss/Jetty in a
> production environment, but this problem is
> hampering that initiative.
> 
> Thanks in advance!
> 
> Han Yuan
> 


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to