Skip to content

JCESecurityManager is ignoring the debug property. #665

@alcarraz

Description

@alcarraz

[This commit(55f773c) disabled the possibility to show the log entries of JCESecurityManager.

JCESecurityManager doesn't call super.setConfiguration so debug is always false:

See:

@Override
public void setConfiguration (Configuration cfg) throws ConfigurationException {
this.cfg = cfg;
debug = cfg.getBoolean("debug", false);
}

And

@Override
public void setConfiguration (Configuration cfg) throws ConfigurationException {
this.cfg = cfg;
try {
init(cfg.get("provider"), cfg.get("lmk", null), cfg.getBoolean("rebuildlmk"));
} catch (SMException e) {
throw new ConfigurationException(e);
}
}

I'm already working on the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions