javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by: java.lang.NullPointerException
2?) When I activate the ldap authentification, the local user database is unavailable. For example, I can't login with account admin/admin. Can I have at the same time LDAP user database and local user database ?
I don't think you can specify the filter in this way.
Your magic id has to be in the DN or you can not use simple authentication. OpenLDAP could be configured to use digest-md5 authentication using any attribute to find the user.
You can have more than one authentication system in version 1.3.