File tree Expand file tree Collapse file tree 4 files changed +35
-6
lines changed
springboot-starter-security-jwt
java/com/codingapi/springboot/security Expand file tree Collapse file tree 4 files changed +35
-6
lines changed Original file line number Diff line number Diff line change 3030 <artifactId >spring-boot-starter-web</artifactId >
3131 </dependency >
3232
33- <dependency >
34- <groupId >org.springframework.security</groupId >
35- <artifactId >spring-security-test</artifactId >
36- <scope >test</scope >
37- </dependency >
38-
3933 <dependency >
4034 <groupId >io.jsonwebtoken</groupId >
4135 <artifactId >jjwt-api</artifactId >
5549 <groupId >com.codingapi.springboot</groupId >
5650 <artifactId >springboot-starter</artifactId >
5751 </dependency >
52+
5853 </dependencies >
5954</project >
Original file line number Diff line number Diff line change 1+ package com .codingapi .springboot .security ;
2+
3+ import org .springframework .boot .SpringApplication ;
4+ import org .springframework .boot .autoconfigure .SpringBootApplication ;
5+
6+ @ SpringBootApplication
7+ public class SecurityJwtApplication {
8+
9+ public static void main (String [] args ) {
10+ SpringApplication .run (SecurityJwtApplication .class ,args );
11+ }
12+ }
Original file line number Diff line number Diff line change 1+ package com .codingapi .springboot .security ;
2+
3+ import org .junit .jupiter .api .Test ;
4+ import org .springframework .boot .test .context .SpringBootTest ;
5+
6+ @ SpringBootTest
7+ public class SecurityJwtApplicationTest {
8+
9+
10+ @ Test
11+ void test (){
12+
13+ }
14+
15+ }
Original file line number Diff line number Diff line change 1+ server.port =8088
2+
3+ spring.datasource.driver-class-name =org.h2.Driver
4+ spring.datasource.url =jdbc:h2:file:./test.db
5+
6+ spring.jpa.hibernate.ddl-auto =create-drop
7+ spring.jpa.show-sql =true
You can’t perform that action at this time.
0 commit comments