├── .editorconfig ├── .github └── workflows │ └── dependency-review.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── _config.yml ├── contributed ├── buildDocker.sh ├── gen │ ├── README.md │ ├── REPLACEME.kt │ ├── REPLACEMEController.kt │ ├── REPLACEMEDto.kt │ ├── REPLACEMEImportDto.kt │ ├── REPLACEMERepository.kt │ ├── REPLACEMEService.kt │ └── gen.zsh └── requests │ ├── address-import.csv │ └── address.http ├── docker-compose.yml ├── pom.xml └── src ├── main ├── kotlin │ └── osahner │ │ ├── Application.kt │ │ ├── Extension.kt │ │ ├── IndexController.kt │ │ ├── api │ │ └── address │ │ │ ├── Address.kt │ │ │ ├── AddressController.kt │ │ │ ├── AddressDto.kt │ │ │ ├── AddressImportDto.kt │ │ │ ├── AddressRepository.kt │ │ │ └── AddressService.kt │ │ ├── config │ │ ├── AppConfiguration.kt │ │ ├── SecurityProperties.kt │ │ └── WebConfig.kt │ │ ├── domain │ │ ├── Role.kt │ │ └── User.kt │ │ ├── security │ │ ├── JWTAuthenticationFilter.kt │ │ ├── JWTAuthorizationFilter.kt │ │ ├── TokenProvider.kt │ │ └── UserLoginDTO.kt │ │ └── service │ │ ├── AppAuthenticationManager.kt │ │ ├── AppUserDetailsService.kt │ │ ├── CsvImportService.kt │ │ ├── PoiExportService.kt │ │ └── UserRepository.kt └── resources │ ├── application.yaml │ ├── banner.txt │ ├── data.sql │ └── logback.xml └── test ├── kotlin └── osahner │ ├── AuthenticationTest.kt │ ├── ExtensionTest.kt │ ├── IndexControllerTest.kt │ └── api │ └── AddressTest.kt └── resources ├── address.csv ├── addressWithBOM.csv └── logback-test.xml /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/dependency-review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/.github/workflows/dependency-review.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/_config.yml -------------------------------------------------------------------------------- /contributed/buildDocker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/buildDocker.sh -------------------------------------------------------------------------------- /contributed/gen/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/gen/README.md -------------------------------------------------------------------------------- /contributed/gen/REPLACEME.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/gen/REPLACEME.kt -------------------------------------------------------------------------------- /contributed/gen/REPLACEMEController.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/gen/REPLACEMEController.kt -------------------------------------------------------------------------------- /contributed/gen/REPLACEMEDto.kt: -------------------------------------------------------------------------------- 1 | package osahner.api.replaceme 2 | 3 | data class REPLACEMEDto( 4 | var id: Int?, 5 | ) 6 | 7 | -------------------------------------------------------------------------------- /contributed/gen/REPLACEMEImportDto.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/gen/REPLACEMEImportDto.kt -------------------------------------------------------------------------------- /contributed/gen/REPLACEMERepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/gen/REPLACEMERepository.kt -------------------------------------------------------------------------------- /contributed/gen/REPLACEMEService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/gen/REPLACEMEService.kt -------------------------------------------------------------------------------- /contributed/gen/gen.zsh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/gen/gen.zsh -------------------------------------------------------------------------------- /contributed/requests/address-import.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/requests/address-import.csv -------------------------------------------------------------------------------- /contributed/requests/address.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/contributed/requests/address.http -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/kotlin/osahner/Application.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/Application.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/Extension.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/Extension.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/IndexController.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/IndexController.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/api/address/Address.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/api/address/Address.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/api/address/AddressController.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/api/address/AddressController.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/api/address/AddressDto.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/api/address/AddressDto.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/api/address/AddressImportDto.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/api/address/AddressImportDto.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/api/address/AddressRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/api/address/AddressRepository.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/api/address/AddressService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/api/address/AddressService.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/config/AppConfiguration.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/config/AppConfiguration.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/config/SecurityProperties.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/config/SecurityProperties.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/config/WebConfig.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/config/WebConfig.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/domain/Role.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/domain/Role.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/domain/User.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/domain/User.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/security/JWTAuthenticationFilter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/security/JWTAuthenticationFilter.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/security/JWTAuthorizationFilter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/security/JWTAuthorizationFilter.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/security/TokenProvider.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/security/TokenProvider.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/security/UserLoginDTO.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/security/UserLoginDTO.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/service/AppAuthenticationManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/service/AppAuthenticationManager.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/service/AppUserDetailsService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/service/AppUserDetailsService.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/service/CsvImportService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/service/CsvImportService.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/service/PoiExportService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/service/PoiExportService.kt -------------------------------------------------------------------------------- /src/main/kotlin/osahner/service/UserRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/kotlin/osahner/service/UserRepository.kt -------------------------------------------------------------------------------- /src/main/resources/application.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/resources/application.yaml -------------------------------------------------------------------------------- /src/main/resources/banner.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/resources/banner.txt -------------------------------------------------------------------------------- /src/main/resources/data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/resources/data.sql -------------------------------------------------------------------------------- /src/main/resources/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/main/resources/logback.xml -------------------------------------------------------------------------------- /src/test/kotlin/osahner/AuthenticationTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/test/kotlin/osahner/AuthenticationTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/osahner/ExtensionTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/test/kotlin/osahner/ExtensionTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/osahner/IndexControllerTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/test/kotlin/osahner/IndexControllerTest.kt -------------------------------------------------------------------------------- /src/test/kotlin/osahner/api/AddressTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/test/kotlin/osahner/api/AddressTest.kt -------------------------------------------------------------------------------- /src/test/resources/address.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/test/resources/address.csv -------------------------------------------------------------------------------- /src/test/resources/addressWithBOM.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/test/resources/addressWithBOM.csv -------------------------------------------------------------------------------- /src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osahner/kotlin-spring-boot-rest-jpa-jwt-starter/HEAD/src/test/resources/logback-test.xml --------------------------------------------------------------------------------