"emptybell" wrote:
Hi guys,
Please help.
I'm doing this:
UsernamePasswordHandler uph = new UsernamePasswordHandler( "me", "password".toCharArray() );
LoginContext lc = new LoginContext( "client-login", uph );
on the client side, providing the default jboss auth.conf to prevent it from barfing.
However, EJBContext.getCallerPrincipal() in the session bean returns null. What's the missing link?
Thanks for any help.
M