EJB - Sign message - Keystore access - NoClassDefFoundError
I have a big issue and need any help as soon as possible! Thanks all !!!
One Webservice, created from an EJB, access the keystore and sign a message using a digital certificate !!!
The problem is:
When I test the webservice a get an error:
1) PI 7.0 - Java SP16
2) Code: Keystore access:
SAPSecurityResources res = SAPSecurityResources.getInstance();
KeyStoreManager manager = res.getKeyStoreManager(PermissionMode.SYSTEM_LEVEL);
KeyStore keyStore = manager.getKeyStore(ksView);
I created a servlet put the same logic inside and gave it access to XiSecurityRuntimePermission then every thing works fine! I tried to give the same permition to EJB (jar) without success.
I would appreciate any help !!!