setCallbackHandler(CallbackHandler) method

Sets the callbackhandler to be used when authenticating a context created by this factory instance.

Syntax

void setCallbackHandler ( CallbackHandler ch )

Parameters

Usage

If this method is not called and the auth.login.defaultCallbackHandler system property is defined, the default callback handler will be instantiated with the value of this property. This corresponds to the behavior outlined in the CallbackHandler javadocs.