SataConnector - Prevent Look-Ups is Value is Null

Cantor, Scott cantor.2 at osu.edu
Tue Jan 13 10:06:14 EST 2015


> I have the following DataConnector in the 'attribute-resolver.xml' - to pick up
> employee status upon user entering username/password - the data
> connector performs the DB lookup irrespective if the user has an employee
> number or not (a NULL look-up) - this understandably drives our DBA up the
> wall. Is there a way to prevent the DB look-up if employee number is null?

Not in V2, but FWIW, your database is broken if you really need to care. I do lookups like that all the time. It returns nothing back, since it's searching a required field with an empty string. Works fine.

-- Scott



More information about the users mailing list