public boolean isSecurityEnabled() {
        return securityAuthConfigs != null && !securityAuthConfigs.isEmpty();
    }
@Test
    public void shouldSaySecurityEnabledIfPasswordFileSecurityEnabled() {
        ServerConfig serverConfig = server(passwordFileAuthConfig(), admins());
        assertTrue(serverConfig.isSecurityEnabled(), "Security should be enabled when password file config present");
    }