In the current demonstration we are using two different databases. The authentication manager is configured with
tenant1DataSource which connects to a Derby database which holds the user and role information. Using this data source we will do that authentication and authorization.
For displaying the
horrormovie list we have created another datasource in Derby which is used with the Hibernate configuration file.
DAOImpl class methods we are using
Let's use the GlassFish application server to run the application.
DAOImpl. Spring Security authorizes ...