|
Can someone point me in the right
direction. I need to setup Basic Authenication. I am
currently using a .htaccess file and I would like to use it to authenticate
users. So I have in my web.xml
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected
Area</web-resource-name>
<url-pattern>/free?action=getMemberform</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>admin</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Admin</realm-name>
</login-config>
Obviously I don't have a realm named Admin or a role named Admin.
Does anyone know how to get it to use the
.htaccess?
|
- Re: tomcat Arnaud Vandyck
- tomcat Noone Anil Kumar
- Tomcat waleed hassan
- Re: Tomcat Ray Rush
- JSP's will not recompile on windows 2000 Brandon Cruz
- RE: JSP's will not recompile on windows 20... Brandon Cruz
- TomCat waleed hassan
- Re: Tomcat Mark Mynsted
- tomcat Hariy
- RE: tomcat Warren Crossing
- Re: Basic Authentication via .htaccess Cory L Hubert
- Re: Basic Authentication via .htaccess Xiaofeng Chen
- Tomcat Carlos Gallardo C.
- RE: Tomcat Randy Layman
- Re: RE: Tomcat paulanastas
- Tomcat manhong wu
- Re: Tomcat John Hebert
- Tomcat Ramon Fernandez
- tomcat Johan Soetens
- Tomcat Haddad, Bayan M
- Re: Tomcat Robert Charbonneau
