mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 23:02:15 +00:00
Fix HttpSecurity Javadoc for jee() method
Fixes: gh-6958
This commit is contained in:
parent
855d000408
commit
8e6db95048
@ -464,7 +464,7 @@ public final class HttpSecurity extends
|
|||||||
* protected void configure(HttpSecurity http) throws Exception {
|
* protected void configure(HttpSecurity http) throws Exception {
|
||||||
* http.authorizeRequests().antMatchers("/**").hasRole("USER").and()
|
* http.authorizeRequests().antMatchers("/**").hasRole("USER").and()
|
||||||
* // Example jee() configuration
|
* // Example jee() configuration
|
||||||
* .jee().mappableRoles("ROLE_USER", "ROLE_ADMIN");
|
* .jee().mappableRoles("USER", "ADMIN");
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user