You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Preethi S <pr...@hotmail.com> on 2003/01/18 09:35:03 UTC

How do I take care of the Tomcat security realm


Hi,
When tomcat starts up, it displays all the information initially itself
specific to a web application (all the tables information)

Here is the context path I have given in server.xml
<Context path="/ormap" cookies="true"
docBase="D:\Tomcat\webapps\ormap"
reloadable="true" crossContext="true">

<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="com.codestudio.sql.PoolMan" connectionURL="jdbc:poolman://epam1"
userTable="EPAM_LOGIN_MS" userNameCol="LM_USER_ID" userCredCol="LM_USER_PWD"
userRoleTable="EPAM_LOGIN_MS" roleNameCol="RM_ROLE_ID"/>

</Context>



Eg, This is a part of tomcat display when is started :

   Form: login_ms
        Field:
                key=                 LM_USER_ID
                property=            LM_USER_ID
                indexedProperty=     null
                indexedListProperty= null
                depends=             required
                page=                0
                fieldOrder=          0
                Vars:

        Field:
                key=                 RM_ROLE_ID
                property=            RM_ROLE_ID
                indexedProperty=     null
                indexedListProperty= null
                depends=             required
                page=                0
                fieldOrder=          0
                Vars:

How do i make it in such a way so that all this is displayed only when I
call upon a web application say http://localhost:8080/ormap , and not
initially at tomcat startup itself.

Any suggestions would be of great help

Regards,
Preethi







_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>