File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
java/es/codeurjc/wallypop/security Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ protected void configure(HttpSecurity http) throws Exception {
57
57
http .authorizeRequests ().antMatchers ("/adcommercial" ).hasAnyRole ("USER" );
58
58
http .authorizeRequests ().antMatchers ("/newcommercial" ).hasAnyRole ("USER" );
59
59
http .authorizeRequests ().antMatchers ("/favorites" ).hasAnyRole ("USER" );
60
- http .authorizeRequests ().antMatchers ("/perfil " ).hasAnyRole ("USER" );
60
+ http .authorizeRequests ().antMatchers ("/profile " ).hasAnyRole ("USER" );
61
61
http .authorizeRequests ().antMatchers ("/yourcommercial" ).hasAnyRole ("USER" );
62
62
http .authorizeRequests ().antMatchers ("/yourcommercialsold" ).hasAnyRole ("USER" );
63
63
http .authorizeRequests ().antMatchers ("/yourcommercialsuccess" ).hasAnyRole ("USER" );
@@ -71,7 +71,6 @@ protected void configure(HttpSecurity http) throws Exception {
71
71
http .authorizeRequests ().antMatchers ("/category" ).hasAnyRole ("ADMIN" );
72
72
http .authorizeRequests ().antMatchers ("/categoryList" ).hasAnyRole ("ADMIN" );
73
73
http .authorizeRequests ().antMatchers ("/graphic" ).hasAnyRole ("ADMIN" );
74
- http .authorizeRequests ().antMatchers ("/profile" ).hasAnyRole ("ADMIN" );
75
74
http .authorizeRequests ().antMatchers ("/reports" ).hasAnyRole ("ADMIN" );
76
75
http .authorizeRequests ().antMatchers ("/showReport" ).hasAnyRole ("ADMIN" );
77
76
@@ -98,4 +97,4 @@ ServletRegistrationBean<Servlet> h2servletRegistration() {
98
97
public PasswordEncoder passwordEncoder () {
99
98
return new BCryptPasswordEncoder (10 , new SecureRandom ());
100
99
}
101
- }
100
+ }
Original file line number Diff line number Diff line change 1
- server.port = ${PORT:8443 }
1
+ server.port = ${PORT:8080 }
2
2
# server.ssl.key-store = classpath:wallypop.jks
3
3
# server.ssl.key-store-password = secret
4
4
# server.ssl.key-password = secret
You can’t perform that action at this time.
0 commit comments