Package net.jini.core.constraint
Class Delegation
java.lang.Object
net.jini.core.constraint.Delegation
- All Implemented Interfaces:
Serializable,InvocationConstraint
Represents a constraint on delegation from the client to the server. If the client delegates to
the server, the server receives credentials which allow the server to authenticate using the
client's identity in subsequent remote calls that the server makes or receives. (The credentials
should at least be sufficient for the authentication mechanism used between the original client
and server; they might not be sufficient if a different mechanism is used when exercising the
delegation.)
The use of an instance of this constraint does not directly imply a ClientAuthentication.YES constraint; that must be specified separately to ensure that the client
actually authenticates itself.
Serialization for this class is guaranteed to produce
instances that are comparable with ==.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DelegationDo not delegate from the client to the server, such that the server does not receive credentials which would allow it to authenticate using the client's identity.static final DelegationIf the client authenticates to the server, then delegate from the client to the server, such that the server receives credentials which allow it to authenticate using the client's identity in subsequent remote calls that the server makes or receives. -
Method Summary
-
Field Details
-
YES
If the client authenticates to the server, then delegate from the client to the server, such that the server receives credentials which allow it to authenticate using the client's identity in subsequent remote calls that the server makes or receives. The mechanisms and credentials used to support delegation are not specified by this constraint. Note that, because this constraint is conditional on client authentication, it does not conflict withClientAuthentication.NO. -
NO
Do not delegate from the client to the server, such that the server does not receive credentials which would allow it to authenticate using the client's identity.
-
-
Method Details