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.
|
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 and Description |
---|
Delegation(AtomicSerial.GetArg arg) |
Modifier and Type | Method and Description |
---|---|
Object |
readResolve()
Canonicalize so that
== can be used. |
String |
toString()
Returns a string representation of this object.
|
public static final Delegation YES
ClientAuthentication.NO
.public static final Delegation NO
public Delegation(AtomicSerial.GetArg arg) throws IOException
IOException
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.