Class SslFilter

  • All Implemented Interfaces:
    Filter, Nameable, PathConfigProcessor

    public class SslFilter
    extends PortFilter
    Filter which requires a request to be over SSL. Access is allowed if the request is received on the configured server port and the request.isSecure(). If either condition is false, the filter chain will not continue.

    The port property defaults to 443 and also additionally guarantees that the request scheme is always 'https' (except for port 80, which retains the 'http' scheme).

    Example config:

     /secure/path/** = ssl