j_security_check est un mecanisme natif de l'API servlet.
il suffit donc de de creer un formulaire HTML ou l'action =
j_security_check par exemple 
suivant les specs : "
<form method="POST" action="j_security_check" name="loginForm">
<table cborder="0" cellpadding="0" cellspacing="0"><tr>
<td valign="BOTTOM" width="120">&nbsp;Identifiant&nbsp;</td>
<td valign="BOTTOM" rowspan="3"><input type="text"
name="j_username"></td>
<td valign="BOTTOM" width="120">&nbsp;Mot de passe&nbsp;</td>
<td valign="BOTTOM" rowspan="3"><input type="password"
name="j_password"></td>
</form>
"

ce formulaire est automatiquement "mappé" avec les directives fournies a
Tomcat
(cf Tomcat-users.xml et l'exemple de jsp fourni avec Tomcat dans les
repertoires security/protected)
...

voilou j espere que c etait a peu pres clair
et que le frenchy language etait bienvenue ...

> 
> Hello,
> 
> I would like to use tomcat security, but I don't understand what is the
> j_security_check url called
> when sending login/password form. Does someone knows about it ?
> Furthermore, is it possible to protect the url '/myservlet?action=1'
> and not the url '/myservlet?action=2'
> 
> Thanks
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to