-
Notifications
You must be signed in to change notification settings - Fork 488
Open
Description
[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:
jPOS/jpos/src/main/java/org/jpos/security/BaseSMAdapter.java
Lines 71 to 75 in 55f773c
| @Override | |
| public void setConfiguration (Configuration cfg) throws ConfigurationException { | |
| this.cfg = cfg; | |
| debug = cfg.getBoolean("debug", false); | |
| } |
And
jPOS/jpos/src/main/java/org/jpos/security/jceadapter/JCESecurityModule.java
Lines 179 to 187 in 9c5ba4f
| @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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels