public UserView[] filterByCertificateSerialNumber(String serialnumber, int index, int size) { serialnumber = StringTools.stripWhitespace(serialnumber); Collection certs =certificatesession.findCertificatesBySerno(administrator, new BigInteger(serialnumber,16)); ArrayList userlist = new ArrayList(); UserView[] returnval = null; if(certs != null){ Iterator iter = certs.iterator(); while(iter.hasNext()){ UserDataVO user = null; try{ X509Certificate next = (X509Certificate) iter.next(); user = adminsession.findUserBySubjectDN(administrator, CertTools.getSubjectDN(next), next.getIssuerDN().toString()); userlist.add(user); }catch(AuthorizationDeniedException e){} } users.setUsers(userlist, informationmemory.getCAIdToNameMap());  returnval= users.getUsers(index,size);
public UserView[] filterByCertificateSerialNumber(String serialnumber, int index, int size) throws RemoteException, FinderException, NamingException, NumberFormatException, CreateException{ serialnumber = StringTools.stripWhitespace(serialnumber); Collection certs =certificatesession.findCertificatesBySerno(administrator, new BigInteger(serialnumber,16)); ArrayList userlist = new ArrayList(); UserView[] returnval = null; if(certs != null){ Iterator iter = certs.iterator(); while(iter.hasNext()){ UserDataVO user = null; try{ X509Certificate next = (X509Certificate) iter.next(); user = adminsession.findUserBySubjectDN(administrator, CertTools.getSubjectDN(next), next.getIssuerDN().toString()); userlist.add(user); }catch(AuthorizationDeniedException e){}
    public UserView[] filterByCertificateSerialNumber(String serialnumber, int index, int size) {        serialnumber = StringTools.stripWhitespace(serialnumber);        Collection certs =certificatesession.findCertificatesBySerno(administrator, new BigInteger(serialnumber,16));        ArrayList userlist = new ArrayList();        UserView[] returnval = null;        if(certs != null){            Iterator iter = certs.iterator();            while(iter.hasNext()){                UserDataVO user = null;                try{                    X509Certificate next = (X509Certificate) iter.next();                      user = adminsession.findUserBySubjectDN(administrator, CertTools.getSubjectDN(next), next.getIssuerDN().toString());                    userlist.add(user);                }catch(AuthorizationDeniedException e){}            }            users.setUsers(userlist, informationmemory.getCAIdToNameMap());                        returnval= users.getUsers(index,size);        }        return returnval;    }