ecaudit
ecaudit copied to clipboard
Fault handling around ResourceFactory methods
The ResourceFactory utility class throws IllegalArgumentException if an invalid resource String is passed in to any of its toResource() methods. This potential fault is not properly handled in WhitelistDataAccess and AuditWhitelistCache.
Error scenarios should result in proper Cassandra exception and reject client request. Behavior should be verified with integration tests.