@Override
    protected boolean isAccessAllowed(ServletRequest request, ServletResponse response, Object mappedValue) throws Exception {
        if (!enablePortFilter) {
            mappedValue = new String[] { Integer.toString(request.getServerPort()) };
        }
        return super.isAccessAllowed(request, response, mappedValue);
    }
Enables Shiro's SslFilter depending
depending on whether in Faces production mode or not
support/jakarta-ee/src/main/java/org/apache/shiro/ee/filters/SslFilter.java