Skip to content

Commit

Permalink
Fix postgresql security user query in SpringSecurityConfig class.
Browse files Browse the repository at this point in the history
  • Loading branch information
sandsm committed Jun 24, 2019
1 parent b44eab7 commit 9663f49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ else if (RDBMS.sqlserver.equals(rdbms)) {
result.setGroupAuthoritiesByUsernameQuery("select bizCustomer + '/' + userName, bizCustomer + '/' + userName, 'NoAuth' from ADM_SecurityUser where bizCustomer + '/' + userName = ?");
}
else if (RDBMS.postgresql.equals(rdbms)) {
result.setUsersByUsernameQuery("select bizCustomer || '/' || userName, password, coalesce(inactive, false) from ADM_SecurityUser where bizCustomer || '/' || userName = ?");
result.setUsersByUsernameQuery("select bizCustomer || '/' || userName, password, coalesce(inactive, true) from ADM_SecurityUser where bizCustomer || '/' || userName = ?");
result.setAuthoritiesByUsernameQuery("select bizCustomer || '/' || userName, 'NoAuth' from ADM_SecurityUser where bizCustomer || '/' || userName = ?");
result.setGroupAuthoritiesByUsernameQuery("select bizCustomer || '/' || userName, bizCustomer || '/' || userName, 'NoAuth' from ADM_SecurityUser where bizCustomer || '/' || userName = ?");
}
Expand Down

0 comments on commit 9663f49

Please sign in to comment.