Question regd Geronimo and LoginModules

2006-11-07 Thread sreepriya ramakrishnan
Hi all, I understand that for Geronimo to identify login modules, the login modules must be jarred and put in the repository. I was wondering if there is some other way for Geronimo to look for those Login module classes in the ear file itself? -Priya

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread Vamsavardhana Reddy
Hi Sreepriya, It is not necessary that the login module classes are put in the repository. The classloader should be able to load the login module class. login module class is no different from any other class that you use in your enterprise app. --vamsiOn 11/8/06, sreepriya ramakrishnan [EMAIL

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread Aaron Mulder
On 11/7/06, Vamsavardhana Reddy [EMAIL PROTECTED] wrote: Hi Sreepriya, It is not necessary that the login module classes are put in the repository. The classloader should be able to load the login module class. login module class is no different from any other class that you use in your

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread sreepriya ramakrishnan
The login module class is in the web-inf/classes folder. 15:10:28,499 ERROR [SecurityFilter] SecurityFilter.execute() : Exception javax.security.auth.login.LoginException: org.apache.geronimo.common.GeronimoSecurityException: Unable to instantiate login module at

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread Aaron Mulder
OK, we'll have to look into the code there. It may be that this is a bug where we use the wrong class loader to attempt to load the login module. Thanks, Aaron On 11/7/06, sreepriya ramakrishnan [EMAIL PROTECTED] wrote: The login module class is in the web-inf/classes folder.

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread sreepriya ramakrishnan
I am using Geronimo1.0 application server. Is there anything I can do for this? --- Aaron Mulder [EMAIL PROTECTED] wrote: OK, we'll have to look into the code there. It may be that this is a bug where we use the wrong class loader to attempt to load the login module. Thanks,

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread Aaron Mulder
On 11/7/06, sreepriya ramakrishnan [EMAIL PROTECTED] wrote: I am using Geronimo1.0 application server. Is there anything I can do for this? Ah, I didn't realize that. There is a known issue in Geronimo 1.0 that GBeans (which includes login modules) in a web app are not able to access classes

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread sreepriya ramakrishnan
At this point, yes, your sample application will be very useful. -Priya --- Vamsavardhana Reddy [EMAIL PROTECTED] wrote: I was able to deploy and use a custom login module in 1.0. I should have a sample application somewhere on my disk. I will look it up and let you know. --vamsi

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread sreepriya ramakrishnan
Hi Aaron,, What is an RA module? --- Aaron Mulder [EMAIL PROTECTED] wrote: On 11/7/06, sreepriya ramakrishnan [EMAIL PROTECTED] wrote: I am using Geronimo1.0 application server. Is there anything I can do for this? Ah, I didn't realize that. There is a known issue in Geronimo 1.0

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread Aaron Mulder
On 11/7/06, sreepriya ramakrishnan [EMAIL PROTECTED] wrote: Hi Aaron,, What is an RA module? J2EE Connector, Resource Adapter, RAR file, whatever you call it. :) Thanks, Aaron --- Aaron Mulder [EMAIL PROTECTED] wrote: On 11/7/06, sreepriya ramakrishnan [EMAIL PROTECTED] wrote: I

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread sreepriya ramakrishnan
Will it work if I create a new Java project and put the login module classes in that package. This package will then be added to ear file? Please let me know. --- Aaron Mulder [EMAIL PROTECTED] wrote: On 11/7/06, sreepriya ramakrishnan [EMAIL PROTECTED] wrote: Hi Aaron,, What is an RA

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread Aaron Mulder
There's no way to add a plan Java module to an EAR -- you can only list WARs, EJB JARs, or RARs in application.xml. It is possible to put a plain JAR in an EAR and add it to the Manifest Class-Path of a module that's listed in application.xml, but if you add it to a web app class path that way,

Re: Question regd Geronimo and LoginModules

2006-11-07 Thread David Jencks
On Nov 7, 2006, at 11:39 AM, sreepriya ramakrishnan wrote: Hi all, I understand that for Geronimo to identify login modules, the login modules must be jarred and put in the repository. I was wondering if there is some other way for Geronimo to look for those Login module classes in the ear