I developed my own Jaas Login module and added to auth.conf
// The default server login module
other {
com.starmedia.helix.JaasServerLoginModule required
};
When my client tries to connect, on the server side only the create method is called.
----------------------------
[KeywordBrokerBean] create()
On the client side, I'm getting exception complaining about java.lang.NoClassDefFoundError: org/jboss/security/EJBSecurityManager
Any idea? Many Thanks!
---------------------------
Created LoginContext
Got context: javax.naming.InitialContext@6e1408
Got reference: helix/KeywordBrokerHome
Got broker home: helix/KeywordBrokerHome
java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoClassDefFoundError: org/jboss/security/EJBSecurityManager
java.lang.NoClassDefFoundError: org/jboss/security/EJBSecurityManager
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unknown Source)
at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:248)
at $Proxy0.create(Unknown Source)
at com.starmedia.test.KeywordBrokerTester.<init>(KeywordBrokerTester.java:41)
at com.starmedia.test.KeywordBrokerTester.main(KeywordBrokerTester.java:57)
