Hi There,
Using BASIC authentication my action classes work like a charm. However,
when I switched to form based authentication calls to secured EJBs
present an "authentication exception, principal=null error".
This is strange only because I know the principal exists and was
authenticated. What is stranger is my workaround: I can get the
authentication to work for my EJBs just by calling logging the
request.getRemoteUser() from within my action. Why should I need to do
this? I thought this sort of thing is handled by the container.
I'd very much not like to use this hack and do it the correct way. Can
anyone shed any light? I'd be glad to provide additional info if req'd.
I've seen a similar post here by Dirk:
http://www.mail-archive.com/[email protected]/msg21316.html
, however, I don't think there was any response.
My stack: JBoss 2.4.4/Tomcat 3.2.3/Struts 1.0.1
Thanks,
R.