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 21:11:23 GMT
At this point, yes, your sample application will be
very useful. 

-Priya


--- Vamsavardhana Reddy <c1vamsi1c@gmail.com> 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
> 
> On 11/8/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)
> >         at
> >
>
org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(
> > TransactionContextValve.java:53)
> >         at
> >
>
org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(
> > ComponentContextValve.java:47)
> >         at
> >
>
org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(
> > InstanceContextValve.java:60)
> >         at
> >
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> > :126)
> >         at
> >
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> > :105)
> >         at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(
> > StandardEngineValve.java:107)
> >         at
> >
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> >         at
> >
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> > :148)
> >         at
> >
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> >         at
> >
> >
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> > (Http11Protocol.java:744)
> >         at
> >
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> > PoolTcpEndpoint.java:527)
> >         at
> >
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> > LeaderFollowerWorkerThread.java:80)
> >         at
> >
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > ThreadPool.java:684)
> >         at java.lang.Thread.run(Thread.java:595)
> > Caused by: java.lang.ClassNotFoundException:
> > com.test.jaas.TestLoginModule
> >         at
> >
>
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >         at
> java.security.AccessController.doPrivileged(Native
> > Method)
> >         at
> >
>
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >         at
> >
>
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >         at
> >
>
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(
> 
=== message truncated ===




 
____________________________________________________________________________________
Sponsored Link

$200,000 mortgage for $660/mo - 30/15 yr fixed, reduce debt, home equity - 
Click now for info http://yahoo.ratemarketplace.com

Mime
View raw message