0
Ich habe ein Formular Realm wie folgt aus: Java JAAS Realm: Nein für jdbcRealm konfiguriert LoginModules
Db haben Einträge für Benutzer (und ihre Gruppen)
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>
Wenn ich also versuche, mich mit einer gültigen Benutzer-E-Mail-Adresse und einem gültigen Kennwort anzumelden, wird diese Zeile auf der Konsole gedruckt (und sonst nichts):
Warning: WEB9102: Web Login Failed: com.sun.enterprise.security.auth.login.common.LoginException: Login failed: No LoginModules configured for jdbcTipRealm
eine Idee, wo das Problem liegt?