We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a66f25 commit d94de0aCopy full SHA for d94de0a
1 file changed
src/main/java/com/okta/developer/jugtours/config/SecurityConfiguration.java
@@ -47,15 +47,10 @@ protected void configure(HttpSecurity http) throws Exception {
47
.authorizeRequests()
48
.antMatchers("/**/*.{js,html,css}").permitAll()
49
.antMatchers("/", "/api/user").permitAll()
50
- .anyRequest().authenticated();/*
51
- .and()
52
- .requiresChannel()
53
- .requestMatchers(r -> r.getHeader("x-forwarded-proto") != null)
54
- .requiresSecure();*/
+ .anyRequest().authenticated();
55
}
56
57
@Bean
58
- @Profile("dev")
59
public RequestCache refererRequestCache() {
60
return new RequestCache() {
61
private String savedAttrName = getClass().getName().concat(".SAVED");
0 commit comments