I’m try to deploy war app on Eap7.2 with OpenJDK 11 (Zulu) and I'm having problem with java.security file.
My app need Luna Provider (for HSM).
Of course, I added a line
?security.provider.14=com.safenetinc.luna.provider.LunaProvider”
in
..zulu-11confsecurityjava.security
But when i start server and display all security providers i don't see the new LunaProvider. To display all providers i use this code.
for (Provider provider: Security.getProviders()) {
System.out.println(provider.getName());
}
In simple test with one class out of EAP (running from command line) i see Luna Provider, but not with Eap7.2.
I also notes that EAP application see more providers than declared on java.security file and it seems that Eap 7.2 using different security configuration.
How to configure java.security-LunaProvider for EAP 7.2?
question from:
https://stackoverflow.com/questions/65951341/problem-with-configuration-java-security-provider-by-java-security-file-for-eap 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…