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-11\conf\security\java.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?