You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "prs05@prosa.com" <pr...@prosa.com> on 2001/10/18 16:45:15 UTC
Authentication with tomcat
Hi all!
I've written these lines in web.xml, so users must be authenticated to use my application.
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<url-pattern>/admin/*</url-pattern>
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>AdminTestOnLine</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>AdminTestOnLine</realm-name>
</login-config>
If I use 8080 port it's OK, but if I use web server IIS it ask me an other authentication with Domain input, and I can't loggin.
Can I authenticate with only tomcat?
What I must do to authenticate users?
Please write me to bortolato@prosa.com too.
Thanks!