Web.xml form defined as:

    <login-config>
        <auth-method>FORM</auth-method>
        <form-login-config>
            <form-login-page>/login.jsp</form-login-page>
            <form-error-page>/loginerror.jsp</form-error-page>
        </form-login-config>
    </login-config>

Whereas tomcat-users.xml file has the users and roles defined appropriately:

  <user name="lftcust"    password="t"    roles="ltcust" />
  <user name="lftadmin"  password="t"   roles="ltadmin" />
  <user name="lftetail"    password="t"    r oles="ltetailer" />

Do you live in CT?

Martin Gainty

______________________________________________

Disclaimer and confidentiality note

Everything in this e-mail and any attachments relating to the official business of Laconia Data Systems (LDS) is proprietary to the company. It is confidential, legally privileged and protected by law. LDS does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of LDS.

The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way.

LDS can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference.

             _____________GMT-5___________________

 

>From: Rob Cartier <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Enabling/Disabling a field via security
>Date: Sat, 21 Dec 2002 18:24:32 -0500
>MIME-Version: 1.0
>Received: from mc4-f36.law16.hotmail.com ([65.54.237.171]) by mc4-s15.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 21 Dec 2002 15:35:03 -0800
>Received: from swjscmail2.java.sun.com ([192.18.99.108]) by mc4-f36.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 21 Dec 2002 15:35:03 -0800
>Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107])by swjscmail2.java.sun.com (Postfix) with ESMTPid 9B1642215E; Sat, 21 Dec 2002 16:31:45 -0700 (MST)
>Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d) with spool id 4855889 for [EMAIL PROTECTED]; Sat, 21 Dec 2002 16:29:25 -0700
>Received: from mta3.snet.net (mta3.snet.net [204.60.203.69]) by swjscmail1.java.sun.com (Postfix) with ESMTP id 8A23C4860 for <[EMAIL PROTECTED]>; Sat, 21 Dec 2002 16:19:25 -0700 (MST)
>Received: from europa (195.36.252.64.snet.net [64.252.36.195]) by mta3.snet.net (8.12.3/8.12.3/SNET-smtp-1.2/D-1.1.1.1/O-1.1.1.1) with SMTP id gBLNJVoI020364 for <[EMAIL PROTECTED]>; Sat, 21 Dec 2002 18:19:31 -0500 (EST)
>Delivered-To: [EMAIL PROTECTED]
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
>Importance: Normal
>Message-ID: <002b01c2a948$1eb2f7e0$0201a8c0@europa>
>Sender: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
>In-Reply-To: <[EMAIL PROTECTED]>
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 21 Dec 2002 23:35:03.0677 (UTC) FILETIME=[9628FAD0:01C2A949]
>
>I wanted to be able to enable/disable a field in a jsp form based
>on the roles defined in the tomcat-users.xml file.
>
>I am stumped. Does anyone have any examples or Ideas how to
>accomplish this.
>
>Thanks in advance
>
>Rob
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com


3 months FREE*. =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com

Reply via email to