geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <ammul...@alumni.princeton.edu>
Subject Re: Question regd Geronimo and LoginModules
Date Tue, 07 Nov 2006 21:15:15 GMT
On 11/7/06, sreepriya ramakrishnan <sreepriya_ramakrishnan@yahoo.com> wrote:
> Hi Aaron,,
> What is an RA module?

J2EE Connector, Resource Adapter, RAR file, whatever you call it.  :)

Thanks,
     Aaron

> --- Aaron Mulder <ammulder@alumni.princeton.edu>
> wrote:
>
> > On 11/7/06, sreepriya ramakrishnan
> > <sreepriya_ramakrishnan@yahoo.com> 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 in the WAR (WEB-INF/classes and
> > WEB-INF/lib).  That
> > was fixed in Geronimo 1.1.
> >
> > If you have an EJB or RA module in the EAR, you can
> > add the login
> > module classes to that instead.  Otherwise, I think
> > you might have to
> > work around it by either creating a dummy EJB or RA
> > module or just
> > putting the login classes in a JAR in the
> > repository.  (Or try
> > Geronimo 1.1.x)
> >
> > Thanks,
> >       Aaron
> >
> > > --- Aaron Mulder <ammulder@alumni.princeton.edu>
> > > 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,
> > > >       Aaron
> > > >
> > > > On 11/7/06, sreepriya ramakrishnan
> > > > <sreepriya_ramakrishnan@yahoo.com> wrote:
> > > > > 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
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.security.jaas.server.JaasLoginModuleConfiguration.getLoginModule(JaasLoginModuleConfiguration.java:71)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.security.jaas.server.JaasSecuritySession.<init>(JaasSecuritySession.java:64)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.security.jaas.server.JaasLoginService.initializeClient(JaasLoginService.java:353)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.security.jaas.server.JaasLoginService.connectToRealm(JaasLoginService.java:169)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.security.jaas.server.JaasLoginService$$FastClassByCGLIB$$95b84fc9.invoke(<generated>)
> > > > >         at
> > > > >
> > > >
> > >
> >
> net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.security.jaas.server.JaasLoginServiceMBean$$EnhancerByCGLIB$$5d8c7715.connectToRealm(<generated>)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.login(JaasLoginCoordinator.java:95)
> > > > >         at
> > > > >
> > > >
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > Method)
> > > > >         at
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > >         at
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > >         at
> > > > java.lang.reflect.Method.invoke(Method.java:585)
> > > > >         at
> > > > >
> > > >
> > >
> >
> javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
> > > > >         at
> > > > >
> > > >
> > >
> >
> javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
> > > > >         at
> > > > >
> > > >
> > >
> >
> javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
> > > > >         at
> > > >
> > java.security.AccessController.doPrivileged(Native
> > > > > Method)
> > > > >         at
> > > > >
> > > >
> > >
> >
> javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
> > > > >         at
> > > > >
> > > >
> > >
> >
> javax.security.auth.login.LoginContext.login(LoginContext.java:579)
> > > > >         at
> > > > >
> > > >
> > >
> >
> com.test.SecurityFilter.doFilter(SecurityFilter.java:273)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:272)
> >
> === message truncated ===
>
>
>
>
>
> ____________________________________________________________________________________
> Sponsored Link
>
> Degrees online in as fast as 1 Yr - MBA, Bachelor's, Master's, Associate
> Click now to apply http://yahoo.degrees.info
>

Mime
View raw message