Now, I just put com.fcl.security.GreenfieldsLoginModule into my WAR file.

All other classes from the com.fcl.security package are in greenfield.jar, just 
another java module listed in application.xml.

But in my LoginModule, I now get this:

10:09:25,718 ERROR [fcl] tried to access method 
com.fcl.security.LoginUtils.login(Ljava/lang/String;[BLjava/lang/Long;)Lcom/fcl/secu
  | rity/GreenfieldsUser; from class com.fcl.security.GreenfieldsLoginModule
  | java.lang.IllegalAccessError: tried to access method 
com.fcl.security.LoginUtils.login(Ljava/lang/String;[BLjava/lang/Long;)Lcom/fcl
  | /security/GreenfieldsUser; from class 
com.fcl.security.GreenfieldsLoginModule
  |         at 
com.fcl.security.GreenfieldsLoginModule.login(GreenfieldsLoginModule.java:116)
  |         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 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:587)
  |         at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:521)
  |         at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:330)
  |         at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:306)
  |         at 
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:256)
  |         at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)
  |         at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  |         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.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  |         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
  |         at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
  |         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  |         at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  |         at java.lang.Thread.run(Thread.java:595)

I have a terrible problem here. I cannot get our app to work. I'm feeling the 
project is going to get cancelled and I'll be fired.

Why is it this DIFICULT? What do I have to do just to get login to work?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955006#3955006

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955006

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to