From tomcat-user-return-130647-apmail-jakarta-tomcat-user-archive=jakarta.apache.org@jakarta.apache.org Mon Aug 01 13:04:48 2005 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 85792 invoked from network); 1 Aug 2005 13:04:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Aug 2005 13:04:48 -0000 Received: (qmail 43904 invoked by uid 500); 1 Aug 2005 13:04:31 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 43009 invoked by uid 500); 1 Aug 2005 13:04:28 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 42996 invoked by uid 99); 1 Aug 2005 13:04:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2005 06:04:28 -0700 X-ASF-Spam-Status: No, hits=6.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FORGED_MUA_OUTLOOK,HTML_30_40,HTML_MESSAGE,MSGID_FROM_MTA_HEADER,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ch1902uk@hotmail.com designates 64.4.51.82 as permitted sender) Received: from [64.4.51.82] (HELO hotmail.com) (64.4.51.82) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2005 06:04:20 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Aug 2005 06:04:27 -0700 Message-ID: Received: from 64.4.51.220 by BAY107-DAV10.phx.gbl with DAV; Mon, 01 Aug 2005 13:04:27 +0000 X-Originating-IP: [64.4.51.220] X-Originating-Email: [ch1902uk@hotmail.com] X-Sender: ch1902uk@hotmail.com From: "Chris Holden" To: Subject: j_security_check & sessions Date: Mon, 1 Aug 2005 14:04:21 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C596A1.EA12D150" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 X-OriginalArrivalTime: 01 Aug 2005 13:04:27.0181 (UTC) FILETIME=[8BEF5DD0:01C59699] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_000B_01C596A1.EA12D150 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi, I am using the built in security constraints to password protect = some directories in my app. It works fine, but I was wondering when = someone uses the login form to get to the passworded directory or page, = is it possible to get the username and/or password that the user submits = in the j_security_check form? I'd like to be able to set a cookie or = session variable with the persons username in after they log in so the = next time they come back to the site they see a personalised greeting = kind of thing.=20 I've tried printing out all request attributes/parameters, session = variables and cookies after and before login but apart from the = sessionid there isnt anything set. Does anyone know how to do what I want? Cheers, Chris. ------=_NextPart_000_000B_01C596A1.EA12D150--