package app;

import core.framework.module.App;
import core.framework.module.SystemModule;

/**
 * @author neo
 */
public class DemoSiteApp extends App {
    @Override
    protected void initialize() {
        load(new SystemModule("sys.properties"));

        http().enableGZip();
        http().httpsPort(8443);

        site().webSecurity(null);
        log().maskFields("password");

        load(new WebModule());
    }
}

package app;

import core.framework.module.App;
import core.framework.module.SystemModule;

/**
 * @author neo
 */
public class DemoSiteApp extends App {
    @Override
    protected void initialize() {
        load(new SystemModule("sys.properties"));

        http().enableGZip();
        http().httpsPort(8443);

        site().webSecurity();
        log().maskFields("password");

        load(new WebModule());
    }
}

update web security config