You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kashif Siddiqui <ka...@yahoo.com> on 2004/08/31 10:54:55 UTC
Tomcat Admin Tools Page
Hi all,
I have sucessfully installed and running Tomcat
server, it is working fine. But I want to know a
thing:
Here is a Admin page and I want to login to this page,
plz tell me that what username and password I should
use to login to this page.
http://localhost:9999/admin/login.jsp
Thanks in advance, for your guidance...
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat Admin Tools Page
Posted by pe...@bilberry-c.com.
setup a user in conf/tomcat-users.xml, having a role as "admin" to connect
to admin page. To connect to the manager page, you need a role as
"manager", or simply combine the roles for a user as "manager,admin".
Look at the file and create you own user / modify one in the above respect.
Pete.
> Hi all,
>
> I have sucessfully installed and running Tomcat
> server, it is working fine. But I want to know a
> thing:
>
> Here is a Admin page and I want to login to this page,
> plz tell me that what username and password I should
> use to login to this page.
>
> http://localhost:9999/admin/login.jsp
>
> Thanks in advance, for your guidance...
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For
> additional commands, e-mail: tomcat-user-help@jakarta.apache.org
==========================================================
This email was sent by Ethicalwebsites.co.uk.
"Ethicalwebsites.co.uk - Internet Solutions for the UK"
http://www.ethicalwebsites.co.uk/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat Admin Tools Page
Posted by sergio ulloa <to...@versix.net>.
add these two lines in tomcat-users.xml file
<role rolename="admin"/>
<user username="admin" password="admin" roles="admin"/>
----- Original Message -----
From: "Kashif Siddiqui" <ka...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, August 31, 2004 4:54 AM
Subject: Tomcat Admin Tools Page
> Hi all,
>
> I have sucessfully installed and running Tomcat
> server, it is working fine. But I want to know a
> thing:
>
> Here is a Admin page and I want to login to this page,
> plz tell me that what username and password I should
> use to login to this page.
>
> http://localhost:9999/admin/login.jsp
>
> Thanks in advance, for your guidance...
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Problem setting custom Policy object in ServletContextListener
Posted by wi...@ncubeait.com.
Basically, I am trying to install a custom Policy class on a web app running
within a Tomcat 4.1.27 container.
To do so, I have registered a ServletContextListener in the web.xml and I am
calling Policy.setPolicy(new rbac.MyPolicy()) from within the
contextInitialized method. Later I use the standard JAAS calls to check
permissions.
Everything works well on an XP tomcat installation. However, as soon as I
deploy to Solaris 2.8, strange behavior appears. It seems that the Policy
class is being modified so that the following calls made from a jsp
<% Policy.getPolicy() instanceof rbac.MyPolicy %> <%
Policy.getPolicy().getClass().getName().equals("rbac.MyPolicy") %>
return inconsistent values. The first returns false while the second returns
true!
If I delay the policy installation to a later point in the application
lifecycle (i.e. call setPolicy from within a servlet filter instead of
setting the Policy, the problem disappears. However, I would like to avoid
the extra overhead of filtering each request.
I am not running tomcat with the security manager.
I would be grateful to anyone offering a remedy or suggestions.
Thanks,
// William.
william@ncubeAIT.com
ncubeAIT Development
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org