Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
822 views
in Technique[技术] by (71.8m points)

jboss eap 7 - Problem with configuration java security provider by java.security file for EAP 7.2 and OpenJDK11

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...