public final class Delegation extends Object implements InvocationConstraint, Serializable
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 FormModifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
private |
Delegation(boolean val)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
private Object |
readResolve()
Canonicalize so that
== can be used. |
String |
toString()
Returns a string representation of this object.
|
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
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.