Skip to content

ESAPI.securityConfiguration().setResourceDirectory(...) not considered anymore in loading of configuration via classloader #745

Answered by kwwall
nettermensch asked this question in Q&A
Discussion options

You must be logged in to vote

@nettermensch - I'm have not yet researched why we changed this, but if since we have accidentally made SecurityConfiguration.setResourceDirectory() ineffective, I'd say that definitely is a bug because it is used in the (presumably rarely used) org.owasp.esapi.filters.ESAPIFilter class, which means we broke that, too.

Please go ahead and create a GitHub issue for this. (If you wish, you can just create it with a Summary title and reference this discussion for details.)

As for a temporary workaround, I might suggest setting the System property "org.owasp.esapi.resources" to the directory of interest. That ought to work for 2.2 and later. (Not as sure about 2.1.)

Note: We do not back-port …

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@jeremiahjstacey
Comment options

@nettermensch
Comment options

@jeremiahjstacey
Comment options

@jeremiahjstacey
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by nettermensch
Comment options

You must be logged in to vote
1 reply
@nettermensch
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants