File tree 6 files changed +13
-5
lines changed
springboot-starter-data-fast
springboot-starter-id-generator
springboot-starter-security-jwt
src/main/java/com/codingapi/springboot/security
6 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 12
12
13
13
<groupId >com.codingapi.springboot</groupId >
14
14
<artifactId >springboot-parent</artifactId >
15
- <version >1.4.9 </version >
15
+ <version >1.4.10 </version >
16
16
17
17
<url >https://github.com/codingapi/springboot-framewrok</url >
18
18
<name >springboot-parent</name >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-parent</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >1.4.9 </version >
8
+ <version >1.4.10 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-parent</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >1.4.9 </version >
8
+ <version >1.4.10 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<artifactId >springboot-parent</artifactId >
8
8
<groupId >com.codingapi.springboot</groupId >
9
- <version >1.4.9 </version >
9
+ <version >1.4.10 </version >
10
10
</parent >
11
11
12
12
<artifactId >springboot-starter-security-jwt</artifactId >
Original file line number Diff line number Diff line change 1
1
package com .codingapi .springboot .security ;
2
2
3
3
import com .codingapi .springboot .security .configurer .HttpSecurityConfigurer ;
4
+ import com .codingapi .springboot .security .controller .VersionController ;
4
5
import com .codingapi .springboot .security .filter .*;
5
6
import com .codingapi .springboot .security .handler .ServletExceptionHandler ;
6
7
import com .codingapi .springboot .security .jwt .Jwt ;
9
10
import org .springframework .boot .context .properties .ConfigurationProperties ;
10
11
import org .springframework .context .annotation .Bean ;
11
12
import org .springframework .context .annotation .Configuration ;
13
+ import org .springframework .core .env .Environment ;
12
14
import org .springframework .security .authentication .AuthenticationProvider ;
13
15
import org .springframework .security .authentication .dao .DaoAuthenticationProvider ;
14
16
import org .springframework .security .config .annotation .method .configuration .EnableMethodSecurity ;
@@ -146,4 +148,10 @@ public SecurityJwtProperties securityJwtProperties() {
146
148
}
147
149
148
150
151
+ @ Bean
152
+ @ ConditionalOnMissingBean
153
+ public VersionController versionController (Environment environment ){
154
+ return new VersionController (environment );
155
+ }
156
+
149
157
}
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.codingapi.springboot</groupId >
7
7
<artifactId >springboot-parent</artifactId >
8
- <version >1.4.9 </version >
8
+ <version >1.4.10 </version >
9
9
</parent >
10
10
<artifactId >springboot-starter</artifactId >
11
11
You can’t perform that action at this time.
0 commit comments