Package | Description |
---|---|
net.jini.constraint |
Provides a basic implementation of
MethodConstraints and a
TrustVerifier for common constraints. |
net.jini.core.constraint |
Defines constraints and collections of constraints that can be used to control
method invocation, and an interface that proxies implement to allow clients
to specify constraints for remote method calls.
|
net.jini.jeri |
Provides the fundamental abstractions and standard implementation
classes for Jini extensible remote invocation (Jini ERI).
|
net.jini.security |
Provides mechanisms and abstractions for managing security, especially in the
presence of dynamically downloaded code.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicMethodConstraints
Basic implementation of
MethodConstraints , allowing limited
wildcard matching on method names and parameter types. |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
RemoteMethodControl.getConstraints()
Returns the client constraints placed on this proxy.
|
Modifier and Type | Method and Description |
---|---|
RemoteMethodControl |
RemoteMethodControl.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy with the client constraints set to the
specified constraints.
|
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
BasicInvocationHandler.getClientConstraints()
Returns this
BasicInvocationHandler 's client
constraints. |
MethodConstraints |
BasicInvocationHandler.getServerConstraints()
Returns this
BasicInvocationHandler 's server
constraints. |
MethodConstraints |
BasicILFactory.getServerConstraints()
Returns the server constraints, if any.
|
Modifier and Type | Method and Description |
---|---|
protected InvocationHandler |
BasicInvocationHandler.setClientConstraints(MethodConstraints constraints)
Returns a copy of this invocation handler with the specified
constraints as its new client constraints.
|
Constructor and Description |
---|
BasicILFactory(MethodConstraints serverConstraints,
Class permissionClass)
Creates a
BasicILFactory with the specified server
constraints, permission class, and a null class
loader. |
BasicILFactory(MethodConstraints serverConstraints,
Class permissionClass,
ClassLoader loader)
Creates a
BasicILFactory with the specified server
constraints, permission class, and class loader. |
BasicInvocationDispatcher(Collection methods,
ServerCapabilities serverCapabilities,
MethodConstraints serverConstraints,
Class permissionClass,
ClassLoader loader)
Creates an invocation dispatcher to receive incoming remote calls
for the specified methods, for a server and transport with the
specified capabilities, enforcing the specified constraints,
performing preinvocation access control using the specified
permission class (if any).
|
BasicInvocationHandler(BasicInvocationHandler other,
MethodConstraints clientConstraints)
Creates a new
BasicInvocationHandler with the
specified client constraints and with the same
ObjectEndpoint and server constraints as the given
other BasicInvocationHandler . |
BasicInvocationHandler(ObjectEndpoint oe,
MethodConstraints serverConstraints)
Creates a new
BasicInvocationHandler with the
specified ObjectEndpoint and server constraints. |
ProxyTrustILFactory(MethodConstraints serverConstraints,
Class permissionClass)
Creates a factory with the specified server constraints, permission
class, and a
null class loader. |
ProxyTrustILFactory(MethodConstraints serverConstraints,
Class permissionClass,
ClassLoader loader)
Creates a factory with the specified server constraints, permission
class, and class loader.
|
Modifier and Type | Field and Description |
---|---|
protected MethodConstraints |
BasicProxyPreparer.methodConstraints
Method constraints to use when verifying if proxies are trusted and for
setting their constraints, if
BasicProxyPreparer.methodConstraintsSpecified is
true . |
Modifier and Type | Method and Description |
---|---|
protected MethodConstraints |
BasicProxyPreparer.getMethodConstraints(Object proxy)
Returns the method constraints to use when verifying and setting
constraints on the specified proxy.
|
Constructor and Description |
---|
BasicProxyPreparer(boolean verify,
MethodConstraints methodConstraints,
Permission[] permissions)
Creates a proxy preparer that specifies whether proxies should be
verified, specifies permissions to grant them, and specifies what method
constraints to use when verifying and setting constraints.
|