|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jini.core.constraint.Delegation
public final class Delegation
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 ==
.
ClientAuthentication
,
DelegationAbsoluteTime
,
DelegationRelativeTime
,
ClientSubject
,
ServerContext
,
Serialized FormField Summary | |
---|---|
static Delegation |
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. |
private static long |
serialVersionUID
|
private boolean |
val
true for YES , false for
NO |
static Delegation |
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. |
Constructor Summary | |
---|---|
private |
Delegation(boolean val)
Simple constructor. |
Method Summary | |
---|---|
private Object |
readResolve()
Canonicalize so that == can be used. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static final Delegation YES
ClientAuthentication.NO
.
public static final Delegation NO
private final boolean val
true
for YES
, false
for
NO
Constructor Detail |
---|
private Delegation(boolean val)
val
- true
for YES
, false
for NO
Method Detail |
---|
public String toString()
toString
in class Object
private Object readResolve()
==
can be used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |