Skip to content

Conversation

@timothyjward
Copy link
Contributor

…urity is enabled

Previously URLHandlers would explode when security was on because it didn't have permission to get the ClassLoader all the way down the stack

Signed-off-by: Tim Ward timothyjward@apache.org

…urity is enabled

Previously URLHandlers would explode when security was on because it didn't have permission to get the ClassLoader all the way down the stack

Signed-off-by: Tim Ward <timothyjward@apache.org>
Calls to getClassLoader for types within the Felix implementation are safe, calls to types that can come from other bundles are not. Proxying is also only safe within a classloader. Using SecureAction to do these things will make them safe in all cases.

Signed-off-by: Tim Ward <timothyjward@apache.org>
…ning classes

Patch from Karl Pauls (karlpauls), also tested with the other changes for FELIX-5978

Signed-off-by: Tim Ward <timothyjward@apache.org>
@asfgit asfgit closed this in 083a32d Nov 8, 2018
asfgit pushed a commit that referenced this pull request Nov 6, 2019
…rity is enabled - patched provided by Tim Ward - thanks! (This closes #160)

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1846198 13f79535-47bb-0310-9956-ffa450edef68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant