diff options
Diffstat (limited to 'base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ConnectionService.java')
-rw-r--r-- | base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ConnectionService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ConnectionService.java b/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ConnectionService.java index 2cd6f2bfd..8e0b69dcf 100644 --- a/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ConnectionService.java +++ b/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ConnectionService.java @@ -95,7 +95,7 @@ public class ConnectionService extends PKIService implements ConnectionResource } @Override - public Response findConnections(Integer start, Integer size) { + public Response findConnections(String filter, Integer start, Integer size) { CMS.debug("ConnectionService.findConnections()"); @@ -106,7 +106,7 @@ public class ConnectionService extends PKIService implements ConnectionResource TPSSubsystem subsystem = (TPSSubsystem)CMS.getSubsystem(TPSSubsystem.ID); ConnectionDatabase database = subsystem.getConnectionDatabase(); - Iterator<ConnectionRecord> connections = database.getRecords().iterator(); + Iterator<ConnectionRecord> connections = database.findRecords(filter).iterator(); ConnectionCollection response = new ConnectionCollection(); int i = 0; |