davout schrieb:
> Question is how do I pass the open page login data values to the JAAS system
> so that when I navigate to the first closed content it realizes that the
> user has already logged in?
AFAIK, this is done directly by the login form itself. The login form sends
it content to a special url that is reserved for authentication:
<form method="POST" action="j_security_check">
Username: <input type="text" name="j_username"><br />
Password: <input type="password" name="j_password"><br />
<br />
<input type="submit" value="Login">
<input type="reset" value="Reset">
</form>
Taken from:
http://www.onjava.com/pub/a/onjava/2001/08/06/webform.html?page=last
Jan
Dave Milne - 24 Jun 2005 18:18 GMT
I don't think you can. Essentially, you have to decide if you want to use
the JAAS way of doing things, or your own way and then stick with it. Also,
why ask people to log in if they don't need to ? If they do need to, perhaps
protect the whole lot with JAAS ?
Dave Milne, Scotland
'91 Grand Wagoneer, '99 TJ
> davout schrieb:
>
[quoted text clipped - 17 lines]
>
> Jan