Re: Authentication in RequestProcessor ?

2003-09-02 Thread Mike Whittaker

> I find this odd!  Not all  requests go through a
RequestProcessor.

Doh!

Just found processPreprocess() that does seem to get called for EVERY
struts-config entry.
So I shall do my authentication there.
Oh well, might help another archive browser.

--
Mike W


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Authentication in RequestProcessor ?

2003-09-02 Thread Mike Whittaker

Browsing the archives, I read alot about authentication and the best place
to do it being the RequestProcessor.

I find this odd!  Not all  requests go through a
RequestProcessor.
ie:


Is this true? - certainly seems that way, MyJSP.jsp needs authenticating!

The only logical places I can see to do this globally are either
ActionServlet or a Filter.

[Pre Struts I did this in a filter.  And, Although I didn't waste much time
trying to sort it out due to current Struts refactoring, I had problems with
EVERY request going through the filter ie ALL static images too! (& no
servlet suffixes to map).]

Your views?

TIA
--
Mike W


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]