LDAP Authentication with iPlanet Web Server 6
807567Jan 2 2003 — edited Sep 13 2004Does anyone know if:
1) The Web Server can handle form-based authentication using ldap?
2) What do I have to do to configure the web server so it automatically handles form-based authentication??
I currently have the following setup (without success):
in my web.xml:
<!-- Setting The Login Config -->
<login-config>
<auth-method>FORM</auth-method>
<realm-name>default</realm-name>
<form-login-config>
<form-login-page>/jsp/logon.jsp</form-login-page>
<form-error-page>/html/fail_logon.html</form-error-page>
</form-login-config>
</login-config>
My jsp has the codt that "should call" the container to manage authentication:
<form method="POST" action="<%= response.encodeURL("j_security_check") %>">
<input type="text" name="j_username" size=20><br>
<input type="password" name="J_password" size=20><br>
<input type="submit" value="Logon">
</form>
I have also configured the web server to communicate with the LDAP Server via the Admin GUI (Global Settings).
Does anyone know what else I need to do??
Thanks,
Damian.