# JDBCLoginModule

The JDBCLoginModule uses a database to load the users, passwords and roles from, provided a data source (normal or XA). The data source and the queries for password and role retrieval are configurable, with the use of the following parameters.

| Name | Description |
| --- | --- |
| datasource | The datasource as on OSGi ldap filter or as JDNI name |
| query.password | The SQL query that retries the password of the user |
| query.role | The SQL query that retries the roles of the user |

### In this section

* [Passing a data source as an OSGi ldap filter](https://help.qlik.com/talend/en-US/esb-container-administration-guide/8.0/passing-data-source-as-osgi-ldap-filter)
* [Passing a data source as a JNDI name](https://help.qlik.com/talend/en-US/esb-container-administration-guide/8.0/passing-data-source-as-jndi-name)