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 30
30
<artifactId >spring-boot-starter-web</artifactId >
31
31
</dependency >
32
32
33
- <dependency >
34
- <groupId >org.springframework.security</groupId >
35
- <artifactId >spring-security-test</artifactId >
36
- <scope >test</scope >
37
- </dependency >
38
-
39
33
<dependency >
40
34
<groupId >io.jsonwebtoken</groupId >
41
35
<artifactId >jjwt-api</artifactId >
55
49
<groupId >com.codingapi.springboot</groupId >
56
50
<artifactId >springboot-starter</artifactId >
57
51
</dependency >
52
+
58
53
</dependencies >
59
54
</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