|
|
|
|
@ -464,7 +464,7 @@ public final class HttpSecurity extends
@@ -464,7 +464,7 @@ public final class HttpSecurity extends
|
|
|
|
|
* protected void configure(HttpSecurity http) throws Exception { |
|
|
|
|
* http.authorizeRequests().antMatchers("/**").hasRole("USER").and() |
|
|
|
|
* // Example jee() configuration
|
|
|
|
|
* .jee().mappableRoles("ROLE_USER", "ROLE_ADMIN"); |
|
|
|
|
* .jee().mappableRoles("USER", "ADMIN"); |
|
|
|
|
* } |
|
|
|
|
* } |
|
|
|
|
* </pre> |
|
|
|
|
|