Differences between revisions 1 and 2
Revision 1 as of 2004-06-24 20:57:11
Size: 813
Editor: JamesMason
Comment:
Revision 2 as of 2009-09-20 22:02:47
Size: 813
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

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.

CallBackInterfaces (last edited 2009-09-20 22:02:47 by localhost)