Hi , I 've installed tomcat 5.0.24 and i try to implement security by JDBC Realm and the context is Loaded
in the web.xml i wrote that:
 
<security-constraint>
     <web-resource-collection>
        <web-resource-name>BACK OFFICE</web-resource-name>
        <url-pattern>/carpetaUno/*</url-pattern>
     </web-resource-collection>
     <auth-constraint>
        <role-name>AdministadorST</role-name>
     </auth-constraint>
  </security-constraint>
  <login-config>
     <auth-method>FORM</auth-method>
     <realm-name>Tomcat Manager Application</realm-name>
     <form-login-config>
        <form-login-page>/login.jsp</form-login-page>
        <form-error-page>/error.jsp</form-error-page>
     </form-login-config>
  </login-config>
 
my directory structure is
    ST
    -------carpetaUno   
    -------WEB-INF
            -----------classes
            -----------lib
 
I 've configured a JDBCRealm in the administrator and i 've check that in this context file ST.xml. All seems is OK but it's doesen't work.
I've made the same in Tomcat 4.1.24 and it's work , i have in my DataBasei  2 tables and its work in tomcat 4.1.24
 
Somebody can help me ?
 
TKS
 
 
Ignacio J. Tissera
Java Developer
Area de Desarrollo
BRANDIGITAL
(0054) 351 681931
www.brandigital.com
[EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to