Browse Source

Fix JdbcDaoImpl Javadoc

Fix incorrect explanation for customizing query on JdbcDaoImpl

Issue: gh-5306
pull/5507/head
Kazuki Shimizu 8 years ago committed by Rob Winch
parent
commit
8883ec17e5
  1. 6
      core/src/main/java/org/springframework/security/core/userdetails/jdbc/JdbcDaoImpl.java

6
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 * 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 * 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, * 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. * default query.
* *
* @param queryString The SQL query string to set * @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 * 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 * 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 * 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 * @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 * 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 * 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 * 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 * 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 * value for this column may be returned by using a query similar to
* *

Loading…
Cancel
Save