Switching to Rust for the CLI

This commit is contained in:
Aryan Singh committed 2026-02-24 16:01:36 -06:00
1 parent 7306ad1b26
commit f32e5bfea2
30 files changed
+1102 -632

No files matched your search

@@ -9,8 +9,8 @@ public class BackendApplication {
public static void main(String[] args) {
SpringApplication.run(BackendApplication.class, args);
//call the test
test t = new test();
test x = new test();
}
@@ -14,11 +14,10 @@ public class SecurityConfig {
@Bean
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
http.authorizeHttpRequests(auth -> auth
.requestMatchers("/api/secure").authenticated()
.anyRequest().permitAll()
.anyRequest().authenticated()
)
.oauth2ResourceServer(oauth2 -> oauth2
.jwt(Customizer.withDefaults()) // uses issuer-uri/jwk-set-uri
.jwt(Customizer.withDefaults())
);
return http.build();