If by "getting into the admin part of Tomcat" you mean :
"access http://localhost:8080/admin/contextAdmin/contextAdmin.htm"

Then you have to change your server.xml to set trusted="true" for the admin context.
And you have to add a new line in tomcat-users.conf :
<user name="your_login" password="your_password" roles="admin" />

Note the "admin" role should be already set in the web.xml of the admin context
(TOMCAT_HOME/webapps/admin/Web-inf/web.xml), but if you want to set authentication for 
other
contexts you also have to update the corresponding web.xml.

Thomas


John Valentine wrote:

> ,
>         <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>
> Apparently-To: "Thomas_Klein-R7972C@email" <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> Content-Type: multipart/alternative; 
>boundary="----=_NextPart_000_0022_01C0AB97.50824560"
> X-Priority: 3 (Normal)
>
> ------=_NextPart_000_0022_01C0AB97.50824560
> Content-Type: text/plain;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
>
> Have been trying to get into the admin part of "Tomcat" but the file that
> holds a number of username/password pairs, does not work. Please let me know
> as to what the next step would be.
>
> John Valentine
>
> ------=_NextPart_000_0022_01C0AB97.50824560
> Content-Type: text/html;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR></HEAD>
> <BODY>
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D380252116-13032001>Have =
> been trying to=20
> get into the admin part of "Tomcat" but the&nbsp;file that&nbsp;<FONT=20
> face=3D"Times New Roman" size=3D3>holds a number of username/password =
> pairs, does=20
> not work. Please let me know as to what the next step would=20
> be.</FONT></SPAN></FONT></DIV>
> <DIV><FONT face=3D"Times New Roman" size=3D3><SPAN=20
> class=3D380252116-13032001></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2><SPAN class=3D380252116-13032001>John=20
> Valentine</SPAN></FONT></DIV>
> <DIV><FONT face=3DArial size=3D2><SPAN=20
> class=3D380252116-13032001></SPAN></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>
>
> ------=_NextPart_000_0022_01C0AB97.50824560--
begin:vcard 
n:KLEIN;Thomas
tel;cell:06 62 05 49 46
tel;home:[EMAIL PROTECTED]
x-mozilla-html:TRUE
org:APSIDE
adr:;;;Toulouse;;;FRANCE
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Thomas KLEIN
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to