Skip to content

Commit e50a5f2

Browse files
committed
Update Python interpreter path and enhance security configuration
- Updated Python interpreter path in VSCode settings to version 3.13.2. - Added method security configuration to UserConfiguration class. - Expanded PUBLISH.md with instructions for creating a new release and publishing to Maven Central.
1 parent 5d5bc68 commit e50a5f2

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"debug.javascript.defaultRuntimeExecutable": {
1010
"pwa-node": "/Users/devon/.local/share/mise/shims/node"
1111
},
12-
"python.defaultInterpreterPath": "/Users/devon/.local/share/mise/installs/python/3.13.1/bin/python"
12+
"python.defaultInterpreterPath": "/Users/devon/.local/share/mise/installs/python/3.13.2/bin/python"
1313
}

PUBLISH.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ gradle publishMavenCentral
3131
```
3232

3333

34+
## Create a new Release and Publish to Maven Central
35+
36+
```shell
37+
gradle release
38+
```
3439

src/main/java/com/digitalsanctuary/spring/user/UserConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import org.springframework.context.annotation.Import;
66
import org.springframework.scheduling.annotation.EnableAsync;
77
import org.springframework.scheduling.annotation.EnableScheduling;
8+
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;
89
import jakarta.annotation.PostConstruct;
910
import lombok.extern.slf4j.Slf4j;
1011

@@ -17,6 +18,7 @@
1718
@Configuration
1819
@EnableAsync
1920
@EnableScheduling
21+
@EnableMethodSecurity
2022
@ComponentScan(basePackages = "com.digitalsanctuary.spring.user")
2123
@Import(UserAutoConfigurationRegistrar.class)
2224
public class UserConfiguration {

0 commit comments

Comments
 (0)