Requesting optional security services

Your application can request any of several optional security services. IBM® JGSS supports several services.

The supported optional services are:

To request an optional service, your application must explicitly request it by using the appropriate request method on the context. Only an initiator can request these optional services. The initiator must make the request before context establishment begins.

For more information about optional services, see Optional Service Support in Internet Engineering Task Force (IETF) RFC 2743 Generic Security Services Application Programming Interface Version 2, Update 1 .

Example: Requesting optional services

In the following example, a context (fooContext) makes requests to enable mutual authentication and delegation services:

     fooContext.requestMutualAuth(true);
     fooContext.requestCredDeleg(true);