From 8883ec17e5850b30f38d354151fd00193daaba85 Mon Sep 17 00:00:00 2001 From: Kazuki Shimizu Date: Fri, 4 May 2018 17:54:44 +0900 Subject: [PATCH] Fix JdbcDaoImpl Javadoc Fix incorrect explanation for customizing query on JdbcDaoImpl Issue: gh-5306 --- .../security/core/userdetails/jdbc/JdbcDaoImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java b/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java index 7bfce9158b..e07468a955 100644 --- a/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java +++ b/core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java @@ -302,7 +302,7 @@ public class JdbcDaoImpl extends JdbcDaoSupport * Allows the default query string used to retrieve authorities based on username to * be overridden, if default table or column names need to be changed. The default * query is {@link #DEF_AUTHORITIES_BY_USERNAME_QUERY}; when modifying this query, - * ensure that all returned columns are mapped back to the same column names as in the + * ensure that all returned columns are mapped back to the same column positions as in the * default query. * * @param queryString The SQL query string to set @@ -320,7 +320,7 @@ public class JdbcDaoImpl extends JdbcDaoSupport * username to be overridden, if default table or column names need to be changed. The * default query is {@link #DEF_GROUP_AUTHORITIES_BY_USERNAME_QUERY}; when modifying * this query, ensure that all returned columns are mapped back to the same column - * names as in the default query. + * positions as in the default query. * * @param queryString The SQL query string to set */ @@ -370,7 +370,7 @@ public class JdbcDaoImpl extends JdbcDaoSupport * Allows the default query string used to retrieve users based on username to be * overridden, if default table or column names need to be changed. The default query * is {@link #DEF_USERS_BY_USERNAME_QUERY}; when modifying this query, ensure that all - * returned columns are mapped back to the same column names as in the default query. + * returned columns are mapped back to the same column positions as in the default query. * If the 'enabled' column does not exist in the source database, a permanent true * value for this column may be returned by using a query similar to *