I made a Form Realm like this:
Db have entries for users(and their groups)
web.xml
<login-config>
<auth-method>FORM</auth-method>
<realm-name>TipRealm</realm-name>
<form-login-config>
<form-login-page>/login.xhtml</form-login-page>
<form-error-page>/login.xhtml</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>User</role-name>
</security-role>
<welcome-file-list>
<welcome-file>redirect.xhtml</welcome-file>
</welcome-file-list>
So when I try to login with a valid user email and password, this line is printed on the console (and nothing else):
Warning: WEB9102: Web Login Failed: com.sun.enterprise.security.auth.login.common.LoginException: Login failed: No LoginModules configured for jdbcTipRealm
any idea where the problem is?
I fix it by change tables and columns names to lowercase, and setting Digest Algorithm: to none