소스 검색

Fix HttpSecurity Javadoc for jee() method

Fixes: gh-6958
Eleftheria Stein 6 년 전
부모
커밋
8e6db95048
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java

+ 1 - 1
config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java

@@ -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>