private static class Util.ClientSubjectImpl extends Object implements ClientSubject
Modifier and Type | Field and Description |
---|---|
private static Permission |
getClientSubjectPerm |
private Subject |
s |
Constructor and Description |
---|
Util.ClientSubjectImpl(Subject s) |
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. |
private final Subject s
private static final Permission getClientSubjectPerm
public Util.ClientSubjectImpl(Subject s)
public Subject getClientSubject()
ClientSubject
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.
getClientSubject
in interface ClientSubject
null
if the client was not
authenticatedCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.