Serialized Form
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Verifies the syntax of the target name and recreates any transient
state.
constraints
SecurityConstraints constraints
- The combined client and server constraints for the call.
-
Package java.rmi.activation |
activator
RemoteSecurity activator
- The expected activator.
-
Package java.rmi.constraint |
val
boolean val
true
for YES
, false
for
NO
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads in the principals, and verifies: that there is at least one
principal, that they are all instances of trusted principal classes,
and that there are no duplicates.
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Serial Data:
- the number of principals as an
int
, followed
by that many principals in arbitrary order.
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads in the classes, and verifies: that there is at least one class,
that they are all trusted principal types, and that no class is
assignable to any other class.
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Serial Data:
- the number of classes as an
int
, followed
by that many classes in arbitrary order.
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads in the principals, and verifies: that there is at least one
principal, that they are all instances of trusted principal classes,
and that there are no duplicates.
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Serial Data:
- the number of principals as an
int
, followed
by that many principals in arbitrary order.
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads in the classes, and verifies: that there is at least one class,
that they are all trusted principal types, and that no class is
assignable to any other class.
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Serial Data:
- the number of classes as an
int
, followed
by that many classes in arbitrary order.
val
boolean val
true
for YES
, false
for
NO
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads in the constraints, and verifies: that there are at least two
constraints, that they are all instances of the same trusted constraint
class (which is not itself
ConstraintAlternatives
), and
that no constraint implies any other constraint.
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Serial Data:
- the number of constraints as an
int
, followed
by that many constraints in arbitrary order.
val
boolean val
true
for YES
, false
for
NO
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Verifies that
minStart
is less than or equal to
maxStart
, maxStart
is less than or equal to
minStop
, and minStop
is less than or equal to
maxStop
.
minStart
long minStart
- The minimum start time in milliseconds from midnight, January 1, 1970
UTC.
-
maxStart
long maxStart
- The maximum start time in milliseconds from midnight, January 1, 1970
UTC.
-
minStop
long minStop
- The minimum stop time in milliseconds from midnight, January 1, 1970
UTC.
-
maxStop
long maxStop
- The maximum stop time in milliseconds from midnight, January 1, 1970
UTC.
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Verifies that
minStart
is less than or equal to
maxStart
, maxStart
is less than or equal to
minStop
, minStop
is less than or equal to
maxStop
, and minStop
is greater than or equal
to zero.
minStart
long minStart
- The minimum start duration in milliseconds.
-
maxStart
long maxStart
- The maximum start duration in milliseconds.
-
minStop
long minStop
- The minimum stop duration in milliseconds.
-
maxStop
long maxStop
- The maximum stop duration in milliseconds.
-
val
boolean val
true
for YES
, false
for
NO
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads in the collections, verifies that all constraints are instances
of trusted constraint classes and that they are in reduced form, and
sets the
rel
field. For requirements, it must be the case
that no requirement is reducible by (or equal to) any other
requirement. For preferences, it must be the case that no preference
conflicts with a requirement, and no preference is reducible by (or
equal to) any requirement, and there are no duplicate preferences.
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Serial Data:
- the requirements collection followed by the preferences
collection. Each collection is represented as the number of
constraints as an
int
, followed by that many constraints
in arbitrary order.
val
boolean val
true
for YES
, false
for
NO
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reads in the principals, and verifies: that there is at least one
principal, that they are all instances of trusted principal classes,
and that there are no duplicates.
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Serial Data:
- the number of principals as an
int
, followed
by that many principals in arbitrary order.
aid
java.rmi.activation.ActivationID aid
- The activation identifier for the server.
-
clientConstraints
SecurityConstraints clientConstraints
- The client constraints as would be returned by the
RemoteSecurity.getClientConstraints
method on the proxy, or
the value null
. -
ref
java.lang.Object ref
- Holds the remainder of the handler data. At the sender, for a server
exported as a
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
. -
defaultConstraints
SecurityConstraints defaultConstraints
- The default server constraints specified in the
SecureExportDesc
when the
object was exported, or the value null
. -
methodHashes
long[] methodHashes
- RMI method hashes for all of the methods specified in
MethodConstraints
in the
SecureExportDesc
when the object was exported, in
arbitrary order, or the value null
-
methodConstraints
SecurityConstraints[] methodConstraints
- The constraints specified in the
MethodConstraints
for
the corresponding index of methodHashes
, or the value
null
if methodHashes
is null
. -
endpoints
SecureClientEndpoint[] endpoints
- The ordered list of client endpoints obtained from the server endpoints
specified in the
SecureExportDesc
when the object was
exported. This field can only be null
for an instance of
SecureActivatableData
. -
id
java.rmi.server.ObjID id
- The identifier for the server. This field can only be
null
for an instance of SecureActivatableData
. -
Package java.rmi.registry |
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Clones the parameter types array, to prevent rogue mutation.
name
java.lang.String name
- The name of the method.
-
parameterTypes
java.lang.Class[] parameterTypes
- The formal parameter types of the method, in declared order,
or
null
for wildcard parameter types. -
constraints
SecurityConstraints constraints
- The constraints for the specified remote method or methods.
-
verifier
java.lang.Object verifier
- Trust verifier.
-
codebase
java.lang.String codebase
- Required codebase of the verifier's class, or
null
. -
signers
java.lang.Object[] signers
- Required signers of the verifier's class, or
null
. -
Copyright © 2000 Sun Microsystems, Inc. All rights reserved