Hi,ALL:
i created a database security realm following link:
http://cwiki.apache.org/GMOxDOC20/database-sql-realm.html,and create a
dynamic web application, create login/register pages using JSF, login is
controlled by loginbean and regsiterbean which authorizes user/password by
connecting to database, but i want to use database security realm to
verify user login like this:
<login-config>
<auth-method>FORM</auth-method>
<realm-name>MYREALM</realm-name>
<form-login-config>
<form-login-page>login.jsp</form-login-page>
<form-error-page>login_error.jsp</form-error-page>
</form-login-config>
</login-config>
But it seems, login action always call loginbean not realm to authorize.
Something is missing?Thanks.
--
viola