diff options
Diffstat (limited to 'base/tps-tomcat/src/org/dogtagpki/server/tps/rest/AuthenticatorService.java')
-rw-r--r-- | base/tps-tomcat/src/org/dogtagpki/server/tps/rest/AuthenticatorService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/AuthenticatorService.java b/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/AuthenticatorService.java index 21d15cc10..2daffd551 100644 --- a/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/AuthenticatorService.java +++ b/base/tps-tomcat/src/org/dogtagpki/server/tps/rest/AuthenticatorService.java @@ -95,7 +95,7 @@ public class AuthenticatorService extends PKIService implements AuthenticatorRes } @Override - public Response findAuthenticators(Integer start, Integer size) { + public Response findAuthenticators(String filter, Integer start, Integer size) { CMS.debug("AuthenticatorService.findAuthenticators()"); @@ -106,7 +106,7 @@ public class AuthenticatorService extends PKIService implements AuthenticatorRes TPSSubsystem subsystem = (TPSSubsystem)CMS.getSubsystem(TPSSubsystem.ID); AuthenticatorDatabase database = subsystem.getAuthenticatorDatabase(); - Iterator<AuthenticatorRecord> authenticators = database.getRecords().iterator(); + Iterator<AuthenticatorRecord> authenticators = database.findRecords(filter).iterator(); AuthenticatorCollection response = new AuthenticatorCollection(); int i = 0; |