public interface IRemoteServiceCallPolicy
Modifier and Type | Method and Description |
---|---|
void |
checkRemoteCall(ID fromID,
IRemoteServiceRegistration registration,
IRemoteCall remoteCall)
The following method is to be called before the remote service method call to check
if the remote service method call is authorized.
|
void checkRemoteCall(ID fromID, IRemoteServiceRegistration registration, IRemoteCall remoteCall) throws SecurityException
fromID
- container ID of the remote caller.
May be null
.registration
- Remote service registration associated
with the given remoteCall. Will not be null
.remoteCall
- Remote method call to invoke locally (assuming this
check passes). Will not be null
.SecurityException
- if remoteCall is not authorized for the
given caller fromIDCopyright © 2017. All rights reserved.