Re: single user session and block log-in after faut

2010-06-04 Thread banto
Pid * wrote: On 03/06/2010 16:45, banto wrote: Hi gurus, i would like to know how to fix the following problems: 1) how can i set tocat in such a way to permit only one session per user? : let´s say userA logs-in from PC-A.Then userA logs-in from PC-B. Tomcat should block

single user session and block log-in after faut

2010-06-03 Thread banto
Hi gurus, i would like to know how to fix the following problems: 1) how can i set tocat in such a way to permit only one session per user? : let´s say userA logs-in from PC-A.Then userA logs-in from PC-B. Tomcat should block the second session because already logged-in. 2) Tomcat rejects any

RE: set-cookie

2010-05-25 Thread banto
great guys for a great forum!!! n828cl wrote: From: banto [mailto:banto...@gmail.com] Subject: Re: set-cookie i´m using something like System.out.println(Thread.currentThread().getStackTrace()); What you got was a display of the array object - not very interesting. Either iterate

Re: set-cookie

2010-05-24 Thread banto
advice? thanks Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Banto, On 5/22/2010 12:01 PM, banto wrote: Hi Chuck, i have found out who is generating that in my code: dispatcher.forward(request, response); the response contains also the set cookie

RE: set-cookie

2010-05-22 Thread banto
..then where the set-cookie come from if not from the line getServletContext().setAttribute(products, products);? actually i added this line to another servlet but no set-cookie header is sent? thanks n828cl wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: set-cookie

RE: set-cookie

2010-05-22 Thread banto
Hi Chuck, i have found out who is generating that in my code: dispatcher.forward(request, response); the response contains also the set cookie header...it is automatically done by tomcat... n828cl wrote: From: banto [mailto:banto...@gmail.com] Subject: RE: set-cookie ..then where

set-cookie

2010-05-21 Thread banto
Hi gurus, my problem here is that i'm trying to understnad a servlet code that makes tomcat to send the Set-Cookie: JSESSIONID=8BCB60D6F6B9394B4ABD2FDD007BDB39; Path=/store header. Now the code is something like: public class FrontController extends HttpServlet { public void init()

Re: standardize the URL

2010-04-22 Thread banto
Gregor Schneider wrote: On Tue, Apr 20, 2010 at 12:54 PM, banto banto...@gmail.com wrote: Hi, i know this can be a silly question but i have the following issue: i want to call my web app with a standard URL as http://host:port/myString how does the url look like when you call

Re: standardize the URL

2010-04-22 Thread banto
Pid * wrote: On 22/04/2010 07:45, banto wrote: Gregor Schneider wrote: On Tue, Apr 20, 2010 at 12:54 PM, banto banto...@gmail.com wrote: Hi, i know this can be a silly question but i have the following issue: i want to call my web app with a standard URL as http://host:port

Re: standardize the URL

2010-04-22 Thread banto
Pid * wrote: On 22/04/2010 10:10, banto wrote: Pid * wrote: On 22/04/2010 07:45, banto wrote: Gregor Schneider wrote: On Tue, Apr 20, 2010 at 12:54 PM, banto banto...@gmail.com wrote: Hi, i know this can be a silly question but i have the following issue: i want to call

Re: standardize the URL

2010-04-22 Thread banto
Pid * wrote: On 22/04/2010 11:27, banto wrote: Pid * wrote: On 22/04/2010 10:10, banto wrote: Pid * wrote: On 22/04/2010 07:45, banto wrote: Gregor Schneider wrote: On Tue, Apr 20, 2010 at 12:54 PM, banto banto...@gmail.com wrote: Hi, i know this can be a silly

standardize the URL

2010-04-20 Thread banto
Hi, i know this can be a silly question but i have the following issue: i want to call my web app with a standard URL as http://host:port/myString regardless from the path of the servlet under Tomcat tree. I have made some try in web.xml url-pattern field but no success. Any advice? thanks.

automatic redirect

2010-02-19 Thread banto
Hi all, there is a way for tomcat to redirect http calls to another web-server (plug-in,...) trasparently,i mean by means of just configuration ? e.g. bowser - http://host1_tomcat:port - http://host2_tomcat:port and back... thanks in advance, Antonio -- View this message in context:

tomcat manager configuration

2010-02-18 Thread banto
Hi all, i´m trying to figure out where are the configurations for the tomcat manager webapp. I mean how if i would want to change the path of the manager, write my own one, disable it and so oni´m just trying to understand if (apart the access configurations) all the the confs are indeed

Re: digest algorithm in BASIC auth

2010-02-13 Thread banto
MESSAGE- Hash: SHA1 Antonio, On 2/12/2010 6:12 AM, banto wrote: my tomcat conf has basic auth and i have a the following in web.xml login-config auth-methodBASIC/auth-method realm-nameThe HTML Application/realm-name /login-config That is HTTP BASIC AUTH. now i´m seeing

Re: digest algorithm in BASIC auth

2010-02-13 Thread banto
yes!! that´s base64 encoding, you are perfectly right!!! thanks Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antonio, On 2/13/2010 3:01 AM, banto wrote: I was confused because in the HTTP message exchanges between the browser and tomcat i saw

digest algorithm in BASIC auth

2010-02-12 Thread banto
Hi all, my tomcat conf has basic auth and i have a the following in web.xml login-config auth-methodBASIC/auth-method realm-nameThe HTML Application/realm-name /login-config now i´m seeing that the password during the auth is digested and has value. Authorization: Basic