From 93840b256f92b1c77e0ea1c509ae2e5b0030f02a Mon Sep 17 00:00:00 2001 From: Eleftheria Stein Date: Wed, 5 Jun 2019 15:55:46 -0400 Subject: [PATCH] Fix HttpSecurity Javadoc for jee() method Fixes: gh-6958 --- .../security/config/annotation/web/builders/HttpSecurity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java b/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java index db5151c521b..bbf2edc1fab 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java +++ b/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java @@ -464,7 +464,7 @@ public PortMapperConfigurer portMapper() throws Exception { * 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"); * } * } *