DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23766>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23766

cannot configure SSL for form-based authentication





------- Additional Comments From [EMAIL PROTECTED]  2003-10-14 18:09 -------
Remy isn't saying that and it clearly does work. It would be a spec violation 
if it did't. The web.xml below works for me (I was using it to test for a 
previous bug).

PS. There are plenty examples of how to do this on the web. 

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>

    <display-name>Bug 10229</display-name>
    <description>
      Test web app for bug 10229.
    </description>

    <security-constraint>
        <web-resource-collection>
        <web-resource-name>App</web-resource-name>
            <url-pattern>/protected.jsp</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <role-name>tomcat</role-name>
        </auth-constraint>
        <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
    </security-constraint>

    <security-constraint>
        <web-resource-collection>
        <web-resource-name>Login pages</web-resource-name>
            <url-pattern>/security/*</url-pattern>
        </web-resource-collection>
        <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
    </security-constraint>

    <login-config>
      <auth-method>FORM</auth-method>
      <realm-name>Example Form-Based Authentication Area</realm-name>
      <form-login-config>
        <form-login-page>/security/login.jsp</form-login-page>
        <form-error-page>/security/error.jsp</form-error-page>
      </form-login-config>
    </login-config>

    <security-role>
      <role-name>tomcat</role-name>
    </security-role>

</web-app>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to