File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 6 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1212
1313 <groupId >com.codingapi.springboot</groupId >
1414 <artifactId >springboot-parent</artifactId >
15- <version >1.4.9 </version >
15+ <version >1.4.10 </version >
1616
1717 <url >https://github.com/codingapi/springboot-framewrok</url >
1818 <name >springboot-parent</name >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >springboot-parent</artifactId >
77 <groupId >com.codingapi.springboot</groupId >
8- <version >1.4.9 </version >
8+ <version >1.4.10 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >springboot-parent</artifactId >
77 <groupId >com.codingapi.springboot</groupId >
8- <version >1.4.9 </version >
8+ <version >1.4.10 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 66 <parent >
77 <artifactId >springboot-parent</artifactId >
88 <groupId >com.codingapi.springboot</groupId >
9- <version >1.4.9 </version >
9+ <version >1.4.10 </version >
1010 </parent >
1111
1212 <artifactId >springboot-starter-security-jwt</artifactId >
Original file line number Diff line number Diff line change 11package com .codingapi .springboot .security ;
22
33import com .codingapi .springboot .security .configurer .HttpSecurityConfigurer ;
4+ import com .codingapi .springboot .security .controller .VersionController ;
45import com .codingapi .springboot .security .filter .*;
56import com .codingapi .springboot .security .handler .ServletExceptionHandler ;
67import com .codingapi .springboot .security .jwt .Jwt ;
910import org .springframework .boot .context .properties .ConfigurationProperties ;
1011import org .springframework .context .annotation .Bean ;
1112import org .springframework .context .annotation .Configuration ;
13+ import org .springframework .core .env .Environment ;
1214import org .springframework .security .authentication .AuthenticationProvider ;
1315import org .springframework .security .authentication .dao .DaoAuthenticationProvider ;
1416import org .springframework .security .config .annotation .method .configuration .EnableMethodSecurity ;
@@ -146,4 +148,10 @@ public SecurityJwtProperties securityJwtProperties() {
146148 }
147149
148150
151+ @ Bean
152+ @ ConditionalOnMissingBean
153+ public VersionController versionController (Environment environment ){
154+ return new VersionController (environment );
155+ }
156+
149157}
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.codingapi.springboot</groupId >
77 <artifactId >springboot-parent</artifactId >
8- <version >1.4.9 </version >
8+ <version >1.4.10 </version >
99 </parent >
1010 <artifactId >springboot-starter</artifactId >
1111
You can’t perform that action at this time.
0 commit comments