When developing custom stores I have found the need to get at information that is not currently presented in the Store Interfaces, such as the SlideToken, Principal user making the request/Credentials, the Servlet Context, request object or response object.
I have used AspectJ to expose these objects, but would much rather see a callback mechanism to request these objects using the current Thread ID.
Comments??
I may be wrong, but I understand there are at least two ways to get the principal in a store:
Globally: remembering with "public void connect(CredentialsToken crdtoken)" ? Huh? from inside the store?
Locally: calling uri.getToken().getCredentialsToken() in each store method YES This is good. Still would like to get at the request and response objects.