|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.ref.SecureHandlerData
Used to hold the serializable state of an
InvocationHandler
for a server
exported as either a SecureUnicastRemoteObject
or a
SecureActivatable
. The
implementation of this class must have a readResolve
method
that returns an equivalent instance of the correct type of
InvocationHandler
class: a unicast
InvocationHandler
must be returned if the ref
field holds a SecureUnicastData
instance, and an
activatable InvocationHandler
must be returned if the
ref
field holds a
SecureActivatableData
instance. The
readResolve
method must throw a SecurityException
if any client endpoint is not an instance of a trusted class.
Field Summary | |
SecurityConstraints |
clientConstraints
The client constraints as would be returned by the RemoteSecurity.getClientConstraints method on the proxy, or
the value null . |
java.lang.Object |
ref
Holds the remainder of the handler data. |
Constructor Summary | |
SecureHandlerData()
Creates an instance with all fields set to null |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public SecurityConstraints clientConstraints
RemoteSecurity.getClientConstraints
method on the proxy, or
the value null
.public java.lang.Object ref
SecureUnicastRemoteObject
, this field must
contain either an instance of SecureUnicastData
or an
object whose class has a writeReplace
method that returns
an instance of SecureUnicastData
. At the sender, for a
server exported as a SecureActivatable
, this field must
contain either an instance of SecureActivatableData
or an
object whose class has a writeReplace
method that returns
an instance of SecureActivatableData
.Constructor Detail |
public SecureHandlerData()
null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |