ecaudit icon indicating copy to clipboard operation
ecaudit copied to clipboard

Fault handling around ResourceFactory methods

Open eperott opened this issue 6 years ago • 0 comments

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.

eperott avatar Nov 06 '18 18:11 eperott