I'm trying to read Secure Storage based on the example from the help and I'm getting following exceptions.
This code works:
SecureStorageRuntimeInterface secStore = (SecureStorageRuntimeInterface) o;
RemoteSecureStorageClientContextInterface myContext = secStore.getSecureStorageClientContext();
Now when I try to read
Object myObject = myContext.retrieveObject("NX1_JCO");
I got:
com.sap.security.core.server.securestorage.exception.ObjectRetrievalException: Could not find clientID
and
com.sap.engine.frame.core.configuration.NameNotFoundException: A configuration with the path "securestorage/services/servicesp4p4~jar" does not exist.
Hello Andrei,
please ensure that
1.) write and read opperation is done in same application
2.) a reference from your application is set to service tcsecsecurestorage~service.
The reference you can set with "application-j2ee-engine.xml":
<reference
reference-type="hard">
<reference-target
target-type="service">tcsecsecurestorage~service</reference-target>
</reference>
regards Maurice
Add a comment