引用wss4j后出现数据库连接用户名密码错误
万俟亦
2023-12-01
ORA-01017: invalid username/password; logon denied when using wss4j。
https://stackoverflow.com/questions/11420512/ora-01017-invalid-username-password-logon-denied-when-using-wss4j/22494704#22494704
解决方法1:
在
%JAVA_HOME%/jre/lib/security/java.security文件中增加
security.provider.10=org.bouncycastle.jce.provider.BouncyCastleProvider
方法2:
WSSConfig.setAddJceProviders(false);