@ View ( name = "by_throttle_params" , map = "classpath:CouchDbAuditActionContext_by_throttle_params.js" ) public List < CouchDbAuditActionContext > findByThrottleParams ( final String remoteAddress , final String username , final String failureCode , final String applicationCode , final LocalDateTime cutoffTime ) { val view = createQuery ( "by_throttle_params" ) . startKey ( ComplexKey . of ( remoteAddress , username , failureCode , applicationCode , cutoffTime ) ) . endKey ( ComplexKey . of ( remoteAddress , username , failureCode , applicationCode , "999999" ) ) ; return db . queryView ( view , CouchDbAuditActionContext . class ) ; }
Find audit records for authentication throttling .