Hi,
I have a problem, I'm developing a Tapestry's aplication and I need to
active the security in there, but the page is autenticated by WAS (WebShere
Application Server) and LDAP, When the user is already authenticate, I
don't Know how to pass to the other page, My html is this:
Do you have any idea to solved it?
<body jwcid="@SimpleBorder" title="Autenticación">
<form method="post" action="j_security_check" onsubmit="return
validar(this);">
<table align="center" class="marco" border="0" cellpadding="0"
cellspacing="0">
<thead>
<tr>
<td>Autenticación</td>
</tr>
</thead>
<tr jwcid="@If" condition="ognl:mensajeError neq null" element="tr">
<td colspan="100"><div class="mensajeError"></div></td>
</tr>
<tr>
<td>
<table class="formulario">
<tr>
<td nowrap="true">Nombre Usuario:</td>
<td><input type="text"
name="j_username"/></td>
</tr>
<tr>
<td>Contraseña:</td>
<td><input type="password" name="j_password"
hidden="ognl:true"/></td>
</tr>
<tr>
<td colspan="2" align="center"><input
type="submit" value="Aceptar"/></td>
</tr>
</table>
<div jwcid="@Spacer" />
<tr>
<td align="center">MM</td>
</tr>
</td>
</tr>
</table>
</form>
<script type="text/javascript">
function validar(formulario){
if (formulario.j_username.value.length==0)
{
alert("Tiene que escribir su nombre de usuario");
return false;
}
if (formulario.j_password.value.length==0)
{
alert("Tiene que escribir su contraseña");
return false;
}
return true;
}
</script>
</body>
--
View this message in context:
http://www.nabble.com/j_security_check-in-tapestry-tf4148843.html#a11802593
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]