public abstract class Callback_ServiceFactory_setSecurityContext extends IceInternal.TwowayCallback implements Ice.TwowayCallbackArg1UE<IObject>
A security context limits the set of objects which will be returned by all queries and restricts what updates can be made.
Current valid values for security context:
ExperimenterGroup - logs into a
specific groupShare - uses IShare to activate a
share Passing an unloaded version of either object type will change
the way the current session operates. Note: only objects which
are returned by the getSecurityContext method are
considered valid. Any other instance will cause an exception to
be thrown.
sf = client.createSession() objs = sf.getSecurityContexts() old = sf.setSecurityContext(objs\[-1])
| Constructor and Description |
|---|
Callback_ServiceFactory_setSecurityContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
__completed(Ice.AsyncResult __result) |