public interface ClientSubjectChecker
decodeMulticastRequest
and handleUnicastDiscovery
methods of the Discovery
class
as a means of controlling whether or not data can be accepted from or exchanged with a client
authenticated as the given subject.Modifier and Type | Method and Description |
---|---|
void |
checkClientSubject(Subject subject)
Checks whether or not to permit exchanging or accepting data with/from a client authenticated
as the given subject.
|
void checkClientSubject(Subject subject)
null
if the client is
unauthenticated; if non-null
, it must be read-only. Returns normally if the
subject is acceptable; throws a SecurityException
if not.subject
- the client subject to checkSecurityException
- if the client subject check failsIllegalArgumentException
- if the given subject is not read-onlyCopyright © GigaSpaces.