@Override
    public boolean isEnabled() {
        ExternalContext ctx = FacesContext.getCurrentInstance().getExternalContext();
        return ctx.getInitParameter(CONTEXT_PARAM_HOST) != null && ctx.getInitParameter(CONTEXT_PARAM_PORT) != null;
    }
ClamAV Daemon custom {@link VirusScanner} provider bundled with PrimeFaces.
Streams the file over TCP to a ClamAV service running on host:port.
It requires
{@link #CONTEXT_PARAM_HOST} and {@link #CONTEXT_PARAM_PORT} to be specified.
primefaces/src/main/java/org/primefaces/virusscan/impl/ClamDaemonScanner.java