I am new to Spring.
We are using spring security feature. Database connectivity: eclipselink implementation of JPA. Database: MySql
While using spring security, Configuration of authentication provider is as follows,-
<authentication-provider>
<jdbc-user-service id="userDetailsService" data-source-ref="Datasource" />
</authentication-provider>
But in JPA we do not define datasource, we use Persistence unit with provider jpa.PersistenceProvider.
So how do we configure authentication provider so as to use JPA for database connectivity?
What exactly should data-source-ref field contain to use database for authentication?
Thank you in advance.