geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sreepriya ramakrishnan <sreepriya_ramakrish...@yahoo.com>
Subject Re: Question regd Geronimo and LoginModules
Date Tue, 07 Nov 2006 20:08:42 GMT
Hi all,

Following this,I added the realm details to the
geronimo-web.xml and deployed the ear file.
When I run the application, I get the exception that
the Login Module class was not found.

Am I missing somthing here?

-Priya

--- Aaron Mulder <ammulder@alumni.princeton.edu>
wrote:

> On 11/7/06, Vamsavardhana Reddy
> <c1vamsi1c@gmail.com> 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
> > enterprise app.
> 
> Well, to be more specific, if you define the
> security realm using the
> admin console and deploy it either there or as a
> standalone service,
> the login module (and principal) classes must
> normally be in a JAR the
> repository (though if you deploy the security realm
> standalone you can
> actually supply the JAR along with the security
> realm plan instead of
> putting it in the repository manually).
> 
> If you deploy the security realm as part if your
> application, then the
> login module and principal classes should be able to
> be on the
> application class loader (e.g. bundled in a WAR or
> EJB JAR or added to
> a JAR in the EAR that's on some module's Manifest
> Class-Path) instead.
> 
> Thanks,
>       Aaron
> 
> > On 11/8/06, sreepriya ramakrishnan
> > <sreepriya_ramakrishnan@yahoo.com> 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 file itself?
> > >
> > > -Priya
> > >
> > >
> > >
> > >
> > >
> >
>
____________________________________________________________________________________
> > > Do you Yahoo!?
> > > Everyone is raving about the all-new Yahoo!
> Mail.
> > > http://new.mail.yahoo.com
> > >
> >
> >
> 




 
____________________________________________________________________________________
Sponsored Link

Get a free Motorola Razr! Today Only! 
Choose Cingular, Sprint, Verizon, Alltel, or T-Mobile. 
http://www.letstalk.com/inlink.htm?to=592913

Mime
View raw message