#418 CertSearchRequest contains server code
Closed: Fixed None Opened 11 years ago by edewata.

The CertSearchRequest class is used by the client to encapsulate the search request, but it contains codes used only by the server, for example the code to generate LDAP filter:

    private void buildIssuedOnFilter(StringBuffer filter) {
        if (!getIssuedOnInUse()) {
            return;
        }
        buildDateFilter(getIssuedOnFrom(), "certCreateTime>=", 0, filter);
        buildDateFilter(getIssuedOnTo(), "certCreateTime<=", 86399999, filter);
    }

This code should be moved into a server-side class.


9996d71..cbfdae8 master -> master

Metadata Update from @edewata:
- Issue assigned to vakwetu
- Issue set to the milestone: 10.0.0-0.X.rc1

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/989

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata