multitenancy-dynamic-tenant
Spring Boot 2 JPA Hibernate with database per tenant with dynamic configuration of tenants, secured by Spring Security
File Explorer
Download Latest Version (.zip)- MasterDatabaseConfig.java
- MasterDatabaseConfigProperties.java
- MasterTenant.java
- MasterTenantRepository.java
- MasterTenantService.java
- MasterTenantServiceImpl.java
- CustomAuthenticationFilter.java
- CustomAuthenticationToken.java
- CustomSecurityConfig.java
- CustomUserDetailsAuthenticationProvider.java
- CustomUserDetailsService.java
- CustomUserDetailsServiceImpl.java
- CurrentTenantIdentifierResolverImpl.java
- DataSourceBasedMultiTenantConnectionProviderImpl.java
- TenantDatabaseConfig.java
- CustomUserDetails.java
- Role.java
- User.java
- RoleRepository.java
- UserRepository.java
- RoleService.java
- RoleServiceImpl.java
- UserService.java
- UserServiceImpl.java
- DataSourceUtil.java
- TenantContextHolder.java
- LoginController.java
- UserRestController.java
- MultitenancyDynamicTenantApplication.java
- main.css
- index.html
- index.html
- login.html
- application.yml
- MultitenancyDynamicTenantApplicationTests.java
- .gitignore
- LICENSE.md
- pom.xml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/sunitk/multitenancy-dynamic-tenant
Downloads the entire project code from GitHub to your computer.
cd multitenancy-dynamic-tenant
Moves into the project folder you just downloaded.
2. Maven (Java)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java projects.
- Maven The build tool used for the mvn command.
mvn clean install
Installs dependencies and builds the project using Maven.
A BUILD SUCCESS message means it worked. The output is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
