public interface ClientSubjectChecker
handleUnicastDiscoverymethods of the
Discoveryclass 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|
Checks whether or not to permit exchanging or accepting data with/from a client authenticated as the given subject.
void checkClientSubject(Subject subject)
nullif the client is unauthenticated; if non-
null, it must be read-only. Returns normally if the subject is acceptable; throws a
subject- the client subject to check
SecurityException- if the client subject check fails
IllegalArgumentException- if the given subject is not read-only
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.