Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

#23418 Security API TCK failures with NPE #23419

Merged
merged 1 commit into from
Mar 14, 2021

Conversation

hussainnm
Copy link
Member

Add required permission to resolve ClassNotFoundException

com.sun.jndi.ldap package is present in JDK but is not publicly visible. By adding the below permission the security manager will allow the web class loader to initialize the required class.

permission java.lang.RuntimePermission "accessClassInPackage.com.sun.jndi.ldap";

Fixes #23418

Add required permission to resolve ClassNotFoundException

Signed-off-by: hussainnm <hussain.nm@cognizant.com>
@glassfish-bot
Copy link
Contributor

Can one of the admins verify this patch?

@arjantijms arjantijms merged commit e7bd5c4 into eclipse-ee4j:master Mar 14, 2021
@hussainnm hussainnm deleted the fix-23418 branch March 14, 2021 23:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Security API TCK failures with NPE
3 participants