Selection of Optional Security Services
A number of security services - delegation, mutual authentication,
replay detection, and out-of-sequence detection - are optional and
must be requested explicitly. An optional service is requested by
using the applicable requestX method on the context,
where X is the service being requested. For example, "foo" uses the
following calls to request that mutual authentication and delegation
services be enabled on fooContext:
fooContext.requestMutualAuth(true);
fooContext.requestCredDeleg(true);
Only an initiator can
request these optional services and the request must be made before
context establishment begins.