Skip to content

Commit d94de0a

Browse files
committed
Polishing
1 parent 9a66f25 commit d94de0a

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/main/java/com/okta/developer/jugtours/config/SecurityConfiguration.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,10 @@ protected void configure(HttpSecurity http) throws Exception {
4747
.authorizeRequests()
4848
.antMatchers("/**/*.{js,html,css}").permitAll()
4949
.antMatchers("/", "/api/user").permitAll()
50-
.anyRequest().authenticated();/*
51-
.and()
52-
.requiresChannel()
53-
.requestMatchers(r -> r.getHeader("x-forwarded-proto") != null)
54-
.requiresSecure();*/
50+
.anyRequest().authenticated();
5551
}
5652

5753
@Bean
58-
@Profile("dev")
5954
public RequestCache refererRequestCache() {
6055
return new RequestCache() {
6156
private String savedAttrName = getClass().getName().concat(".SAVED");

0 commit comments

Comments
 (0)