tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Chow" <ec...@macaucabletv.com>
Subject JAAS LoginModule ?
Date Fri, 30 May 2003 01:51:16 GMT
Hello,

In Tomcat, we can use container based authorization.

Those username/password information can be place in a XML files or use
DBRealm, right ?


How can I implement a login module, so that the Web Container will called my
module instead of the default login module.

For example, the following is my login.jsp.

<form action="j_security_check" method="post" name="fm">
   <input name="j_username">
   <input name="j_password">
   <input type="submit" value="Login">
</form>

When the above submit, it will pass to my LoginModule, how can I implement
that part?

Best regards,
Eric

==========================
If you know what you are doing,
it is not called RESEARCH!
==========================


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message