Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-925: BasicLookupStrategy - support for schema qualifier #1178

spring-issuemaster opened this Issue Jul 16, 2008 · 4 comments


None yet
1 participant

Troy J. Kelley(Migrated from SEC-925) said:

The current impl of this class works great – I would like to avoid writing my own custom strategy wherever possible. The JavaDocs for BasicLookupStrategy state that it’s not design for extension which I understand.

It would be great, however, if a property could be set in the bean config that would allow the referenced tables in the SQL to be qualified by a schema. Projects often run into such requirements based on the conventions used by a DBA group. In our particular case, we’re using DB2 and the ACL tables are being created in a schema that is not the default schema.

Ross Duncan said:

Could this be expanded to allow injecting the entire sql query? In some cases the names of the tables involved may not conform to an inhouse policy. Why not allow the entire sql query to be injected as happens in other areas of the security framework?

Luke Taylor said:

I guess this should be possible. It would require a select clause, the two where clauses and the “order by”.

Luke Taylor said:

All the beans which make use of the schema should be reviewed as part of this issue

Luke Taylor said:

I've added setters for all the SQL which is used by the JDBC implementation, which should solve these issues.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 RC1 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment