When i read java servlet specification v2.2, i understand that it was
possible to make some roles and security constraints into web.xml file of an
web application (WAR). This point interest me a lot, but i don't find
informations.

Curently i work with WebLogic and on there web site
(http://www.weblogic.com/docs51/classdocs/webappguide.html) they speak of
<security-role-ref> <auth-constraint> <login-config>.

Obviously, if i write <auth-method>FORM</auth-method> i can use a HTML form

<form method="POST" action="j_security_check">
<input type="text" name="j_username">
<input type="password" name="j_password">
</form>

The question is: where is the password list ? and how can i map a user to a
role ?

Thanks in advance

Please an example.

sorry for my english.

--
Philippe

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to