Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question


Where does the class file / jar for a ISpaceUserAccountDriver class need to live? What is the suggested location?



{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=1912]{quote}

asked 2008-04-15 09:34:08 -0500

jazzbutcher's avatar

updated 2013-08-08 09:52:00 -0500

jaissefsfex's avatar
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

It should be part of the space CLASSPATH. If the space started as a PU it should be part of the shared-lib folder. If the space started using gsInstance it should be located at the lib\ext folder.
See also:

Can you explain what are you trying to implement using the ISpaceUserAccountDriver implementation?
Please note there is limited support for such implementation as part of the GUI and you might impact the overall performance with bad implementation that access some remote resource to load users info.


answered 2008-04-15 09:55:06 -0500

shay hassidim's avatar
edit flag offensive delete link more



Thanks for the info. I'd be using this in an EDG system, thus, not involving a PU.

I am investigating this hook into GS, as my understanding is there is no API to control the creation and management of user accounts except through the GUI tool. Also, since I am working in a clustered environment, I do not want to have to sync up user databases on each cluster node. Thus, I was considering putting some user account information in the space and writing an SpaceUserAccountDriver to access this. I guess I had the impression that this was a typical use. Am I wrong? Perhaps you could talk about the various ways that people have used this hook in the past.

My goal is to have one location where all user info is stored for all the nodes in the cluster and to add support to my own application which would allow an admin user to add new user accounts.



jazzbutcher's avatar jazzbutcher  ( 2008-04-15 14:41:05 -0500 )edit

The recommended approach is to place the users file (it is not a database) on some shared location (shared folder) to avoid having multiple copies of the same file across the machines running the clustered space. I'm not familiar with ISpaceUserAccountDriver implementation that is storing the users info and their roles within the space instead of the users file (that is encrypted file). Most of the users using the default implementation. Would supporting the ability to place the users file on central HTTP server makes sense?

If the main problem is to define the users via the GUI we can check the ability to provider relevant API / CLI as part of 6.5 release. This will allow you to build a simple script / app that will allow defining multiple users. Please contact support to submit enhancement request. We might be able adding such into 6.5 release.


shay hassidim's avatar shay hassidim  ( 2008-04-15 14:54:15 -0500 )edit


My requirements are:

  • Single place to manage users/roles for an entire cluster

  • A programatic way (via some GS lib) to create/update/delete user accounts/roles.

Can you point me to a URL for submitting feature requests?



jazzbutcher's avatar jazzbutcher  ( 2008-04-15 15:33:48 -0500 )edit


Can you point me to a URL for submitting feature requests?


jazzbutcher's avatar jazzbutcher  ( 2008-04-21 09:02:03 -0500 )edit

If you are a customer from here: https://na1.salesforce.com/sserv/logi...

If you are not a customer from here: http://gigaspaces.com/supportform


shay hassidim's avatar shay hassidim  ( 2008-04-21 12:32:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2008-04-15 09:34:08 -0500

Seen: 48 times

Last updated: Apr 15 '08