How to connect to the secure space

Use the following code as an example:

IJSpace aSpace = (IJSpace) SpaceFinder.find("jini://lookup-host/container-name/space-name"); SecurityContext sc = new SecurityContext("myuserid", "mypassword"); aSpace.setSecurityContext(sc)

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

asked 2006-03-21 16:02:00 -0500

bernard gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete