Mattias Jiderhamn wrote:
> Are you sure the issue is with include, rather than the attribute ID 
> having changed...?
> That is, have you verified that 
> application.getAttribute("caucho.authenticator") in header.jsp returns 
> something other than null...?
>
>   
Hi, and thanks, that was it!
There still is a change between the resin versions mentioned, but in the 
end the fix was
to instead get the authenticator like this:

DbAuthenticator auth = (DbAuthenticator) (new 
InitialContext()).lookup("java:comp/env/foo");

having given it a jndi-name like this in web.xml:

  <authenticator type='com.example.DbAuthenticator' jndi-name='foo'>
    ...
  </authenticator>

Doing this has the advantage of it being backwards compatibile with 3.1.2.

Thanks again



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to