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
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
> 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.
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:
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)
>
>
>
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
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
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
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
, 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
10 matches
Mail list logo