cancel
Showing results for 
Search instead for 
Did you mean: 

Error in getting Keystore Manager from SAPSecurityResources Class

Former Member
0 Kudos

Dear Experts,

I am currently exploring using AS keystore in SAP PI 7.1 and encountered an error complaining that the service com.sap.aii.af.svc was not found when I tried getting the KeyStoreManager from SAPSecurityResources with the following code:

SAPSecurityResources sapSecRes = SAPSecurityResources.getInstance();

KeyStoreManager storeMngr = sapSecRes.getKeyStoreManager(PermissionMode.SYSTEM_LEVEL, new String[] { "<PROTECTION_DOMAIN>" });

I have already included the reference for com.sap.aii.af.svc.facade in the deployment descriptors but i still get the following error:

+An exception is encountered, couldn't instantiate the com.sap.aii.security.lib.KeyStoreManager. Message: +

+AccessControlException in Method: checkPermission( String[] ). The adapter framework service domain stack: +

service:com.sap.aii.af.svc was NOT found.

Any help is greatly appreciated. Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Joe

Apply the latest available XIAF patches for the your current SP release and this should resolve this error. A fix was released for this error in XI ADAPTER FRAMEWORK 7.10 SAPXIAF06P patch #7 (SP-level #06)

Regards

Mark

Former Member
0 Kudos

Thanks! The patch update solves the problem

Edited by: joe.ye on May 27, 2010 10:30 AM

Answers (0)