add spring security config
This commit is contained in:
parent
337a77f5e7
commit
03f35009a0
13
pom.xml
13
pom.xml
@ -83,6 +83,19 @@
|
||||
<version>4.13.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-core -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-core</artifactId>
|
||||
<version>6.1.5</version>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-test -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-test</artifactId>
|
||||
<version>6.1.5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
@ -1,3 +1,4 @@
|
||||
# spring boot datasource config
|
||||
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
server.port=8080
|
||||
spring.datasource.url=jdbc:sqlserver://intpointer.com:1433;\
|
||||
@ -7,8 +8,12 @@ spring.datasource.url=jdbc:sqlserver://intpointer.com:1433;\
|
||||
loginTimeout=30;
|
||||
spring.datasource.username=myh
|
||||
spring.datasource.password=20231103#MS_Sql
|
||||
# JPA config
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.properties.hibernate.format_sql=true
|
||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServerDialect
|
||||
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
||||
# spring security config
|
||||
spring.security.user.name=anchor
|
||||
spring.security.user.password=20172
|
Loading…
Reference in New Issue
Block a user