Re: auth-constraint question

2002-06-11 Thread Terrence Szeto
One thing you can do is use filters to further restrict users. So write a filter, which checks for user roles, and foward the ones you don't want to go further "down" your directory. Don't forget to map the filter in the web.xml file so tomcat knows where to restrict. hope that helps Terr

Re: Listing all currently logged users

2002-05-28 Thread Terrence Szeto
on't know what that is). When the session expires / becomes invalid, the "valueUnbound" method on your bean will be called (as the bean is unbound from the session which no longer exists). You can have THIS method UNregister your object from the pool. The object will die and be garb

Re: Listing all currently logged users

2002-05-28 Thread Terrence Szeto
> HttpSessionListener to find out when >> sessions were created / destroyed and just maintained a list. >> >> It is probably more portable than hacking your way into Catalina >> internals. >> >> See the servlet spec for details on lifecycle listeners.

Re: tomcat config

2002-05-27 Thread Terrence Szeto
p: <mailto:[EMAIL PROTECTED]> List-Post: <mailto:[EMAIL PROTECTED]> List-Id: "Tomcat Users List" Delivered-To: mailing list [EMAIL PROTECTED] X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[EMAIL PROTECTED]> In-Reply-To: <[EMAIL PROTECTED]> X-Spam-Rating:

Re: tomcat config

2002-05-27 Thread Terrence Szeto
er work if I increase it? By the way, I use SSL and Apache with tomcat. thanks Yin --- Terrence Szeto <[EMAIL PROTECTED]> wrote: > With your server.xml file, change your maxProcessors > from 75 to your desired > amount. > > (excerpt from server.xml file) > > >

Re: tomcat config

2002-05-27 Thread Terrence Szeto
With your server.xml file, change your maxProcessors from 75 to your desired amount. (excerpt from server.xml file) From: DC Yin <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: tomcat config Date: Mon, 27 May 2002 15:03:14 -04

Listing all currently logged users

2002-05-27 Thread Terrence Szeto
something for myself, to say, keep track of all the users who logged in, is there an event which is fired when a user's session is invalidated so I remove him from a master "logged-in" user list? Thanks for your help everyone.. Terrence Szeto

Odd authentication problems

2002-05-02 Thread Terrence Szeto
I'm using Tomcat 4.0.1 on a RedHat Linux 7.2 It uses a database Realm to look up user names and roles. The backend of it is a Mysql database 3.23.41 My problem is this: When I am at work and testing my JSP pages, I login (all defined roles are in web.xml) into my page. It works fine every time

RE: Filters running twice!!!

2002-02-12 Thread Terrence Szeto
ng 2 requests to tomcat. This can help distinguish if its a tomcat problem or a browser(frames?) issue. are all your pages called twice or just the filters? what version of tc4? I am using filters with a mapping of '/abc/*' (not '/*') without this problem on 4.0.1 standalone. Ch

RE: Filters running twice!!!

2002-02-12 Thread Terrence Szeto
, I don't think AccessValueLog does that. Terrence Szeto Cybermation Web Architect From: "Cox, Charlie" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: 'Tomcat Users List' <[EMAIL PROTECTED]> Subject: RE: Filters