Work on security: custom entity provider, ldap manager