Re: How to get context realm from servlet and filter.

2004-10-15 Thread Antoine Brocard - Vertical*i S.A.
I'm trying to use this code from withing a JAAS LoginModule (see yesterday's post from Michael Vorburger) and I have another problem. My LoginModule class must be in common/lib or in application's classpath. It uses classes that are (normally) in server/lib (all the Catalina classes). How do

Re: How to get context realm from servlet and filter.

2004-10-15 Thread Antoine Brocard - Vertical*i S.A.
Note, however, that according to the same document the classes in server/lib *can* see and use classes in common/lib. So you might be able to plugin something the other way from your current design. I really don't see how... The LoginModule has to be accessible from my application's classes.

The good way of making JAAS and Realm authentication use the same back-end authentication system?

2004-10-12 Thread Antoine Brocard - Vertical*i S.A.
Maybe this question should be in the User mailing list, but I think it could interest some Developers... The problem I had to solve is the following: My application needs J2EE container authentication AND JAAS (to authenticates requests coming from an application that don't support standard

Re: RE : The good way of making JAAS and Realm authentication use the same back-end authentication system?

2004-10-12 Thread Antoine Brocard - Vertical*i S.A.
that the simplest way is to write your own login module or try to use/configure/debug the existing JNDI login module. Regards, -Message d'origine- De : Antoine Brocard - Vertical*i S.A. [mailto:[EMAIL PROTECTED] Envoyé : mardi 12 octobre 2004 09:52 À : [EMAIL PROTECTED] Objet : The good way