How do I fix this JBoss EJB client authentication issue?
- by Rich
I have an EJB deployed under JBoss (we're moving a project to it from Weblogic), I can get an EJBHome reference to the EJB via a JNDI lookup.
The login-config.xml is set to use the module org.jboss.security.auth.spi.BaseCertLoginModule.
When my client code tries to invoke the create method via reflection, calling invoke, I get an InvocationException which wraps an AccessException, which wraps a final exception of javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:213)....
Am I missing some client code to use BaseCertLoginModule instead of UsernamePasswordLoginModule?
Thanks in advance, any suggestions appreciated, apologies for not posting the entire stacktrace but it's on a secured network without internet access.