summaryrefslogtreecommitdiffstats
path: root/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ProfileService.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ProfileService.java')
-rw-r--r--base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ProfileService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ProfileService.java b/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ProfileService.java
index 866a1dc7f..723075a40 100644
--- a/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ProfileService.java
+++ b/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/ProfileService.java
@@ -95,7 +95,7 @@ public class ProfileService extends PKIService implements ProfileResource {
}
@Override
- public Response findProfiles(Integer start, Integer size) {
+ public Response findProfiles(String filter, Integer start, Integer size) {
CMS.debug("ProfileService.findProfiles()");
@@ -106,7 +106,7 @@ public class ProfileService extends PKIService implements ProfileResource {
TPSSubsystem subsystem = (TPSSubsystem)CMS.getSubsystem(TPSSubsystem.ID);
ProfileDatabase database = subsystem.getProfileDatabase();
- Iterator<ProfileRecord> profiles = database.getRecords().iterator();
+ Iterator<ProfileRecord> profiles = database.findRecords(filter).iterator();
ProfileCollection response = new ProfileCollection();
int i = 0;