public interface ClientSubject
ServerContext.getServerContextElement(java.lang.Class)| Modifier and Type | Method and Description | 
|---|---|
Subject | 
getClientSubject()
Returns the authenticated identity of the client as a read-only
 instance, or  
null if the client was not authenticated. | 
Subject getClientSubject()
null if the client was not authenticated.
 If the client delegated to the server, then the returned subject
 contains any derived delegation credentials; the server can then
 impersonate the client by performing outbound secure calls (or by
 receiving incoming secure calls) in the context of a
 Subject.doAs with the client subject.
null if the client was not
                authenticatedSecurityException - if a security manager exists and its
 checkPermission method invoked with the permission
 ContextPermission("net.jini.io.context.ClientSubject.getClientSubject")
 throws a SecurityException