When you said 'I suggest letting the container manage security for you'
you mean that manually check that for example, i'ts the session loaded or
else send the user to a login page?? i have been looked for auth. examples
and the filtering mode seens to be the best for me. Let's me write code
and map to the servlet that requires it without insert code in the
servlets.

Emmanuel (writing like tarzan speaking Latin)

On Tue, 22 May 2001, David Ward wrote:

> Emanuel,
> 
> Filters are introduced in the servlet 2.3 spec.  I'm guessing your 
> servlet.jar is only 2.2, which is what comes with Tomcat 3.x.  servlet 
> 2.3 will be part of Tomcat 4.
> 
> On a side (design) note, I suggest letting the container manage security 
> for you.  The Sun example is probably just trying to teach people about 
> Filters, without looking at the bigger picture (not sure; I haven't seen 
> it).
> 
> Hope this helps,
> David
> 
> --
> 
> Emanuel Galindo wrote:
> 
> > Hi, im designing auth process that map filter with a LogFilter servlet
> > that parses incoming request.
> > The code is tiny and it's structured base in an sun example.
> > The problem come's when i compile it, i cannot reach the Filter class,
> > obviusly either the FilterConfig or FilterChain. 
> > I decompress servlet.jar in an temp dir the servlet.jar (the java docs
> > says that this libs comes in javax.servlet) from diferents versions i have
> > and i cannot found it !!! 
> > 
> > This feature can save me time and any suggestion or answer of any type in
> > this subject would be nice 
> > 
> > Thanks in advance
> > 
> > 
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to