com.sun.jini.jeri.internal.runtime
Class Util.ClientSubjectImpl

java.lang.Object
  extended by com.sun.jini.jeri.internal.runtime.Util.ClientSubjectImpl
All Implemented Interfaces:
ClientSubject
Enclosing class:
Util

private static class Util.ClientSubjectImpl
extends Object
implements ClientSubject


Field Summary
private static Permission getClientSubjectPerm
           
private  Subject s
           
 
Constructor Summary
Util.ClientSubjectImpl(Subject s)
           
 
Method Summary
 Subject getClientSubject()
          Returns the authenticated identity of the client as a read-only instance, or null if the client was not authenticated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s

private final Subject s

getClientSubjectPerm

private static final Permission getClientSubjectPerm
Constructor Detail

Util.ClientSubjectImpl

public Util.ClientSubjectImpl(Subject s)
Method Detail

getClientSubject

public Subject getClientSubject()
Description copied from interface: ClientSubject
Returns the authenticated identity of the client as a read-only instance, or 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.

Specified by:
getClientSubject in interface ClientSubject
Returns:
the authenticated identity of the client as a read-only instance, or null if the client was not authenticated


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.