tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Blidorf <so...@nolas.dk>
Subject cannot get the login to work
Date Sat, 17 Jan 2004 00:17:32 GMT
Hi.

I have installed the jakarta-tomcat-4.1.29 on my XP laptop.

I cannot get the login to work.
I have created a user with correct roles in tomcat-users.

Every thing works on another tomcat machine. Any idears?


  <security-constraint>
    <web-resource-collection>
      <web-resource-name>public</web-resource-name>
      <url-pattern>/public/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
      <role-name>admin</role-name>
      <role-name>view</role-name>
      <role-name>user</role-name>
    </auth-constraint>
    <user-data-constraint>
      <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
  </security-constraint>
  <security-constraint>
    <web-resource-collection>
      <web-resource-name>master</web-resource-name>
      <url-pattern>/master/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
      <role-name>admin</role-name>
    </auth-constraint>
    <user-data-constraint>
      <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
  </security-constraint>
  <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
      <form-login-page>/public/login.jsp</form-login-page>
      <form-error-page>/public/loginError.jsp</form-error-page>
    </form-login-config>
  </login-config>
  <security-role>
    <description>Administrative user</description>
    <role-name>admin</role-name>
  </security-role>
  <security-role>
    <description>Normal user</description>
    <role-name>user</role-name>
  </security-role>
  <security-role>
    <description>Read only</description>
    <role-name>view</role-name>
  </security-role>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message