Hello,

I'm trying to implement my own Remote EJB Authentication based on Romain's
example  : 
http://rmannibucau.wordpress.com/2013/07/11/from-jax-wswss4j-to-ejbdjaas/
<http://rmannibucau.wordpress.com/2013/07/11/from-jax-wswss4j-to-ejbdjaas/>  
And I get  javax.naming.AuthenticationException: This principle is not
authorized. [Root exception is
javax.security.auth.login.CredentialNotFoundException: foo]

I'm using TomEE 1.6.0 Plus on the server side. The client side is a JSE 6
application.

I'm not using JAX-WS, but only Remote EJB :

- the remote interface (shared on both client and server ) :


- the EJB implementation : 


- the client side :


- my (or Romain's) LoginModule. I packaged it in a jar and put it in
<TomEE>/lib directory :


- my JAAS config (<TomEE>/conf/login.conf) 


-the stacktrace :


The server.xml is the default one.
Any body has an idea of what I am doing wrong?

Thanks for your help.





--
View this message in context: 
http://openejb.979440.n4.nabble.com/Remote-EJB-Client-Authentication-JAAS-tp4666734.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to