newContext(CallbackHandler, String) method

Build a new context, applying the specified configuration name to the default configuration selectors and setting the specified callback handler when authenticating the context.

Syntax

synchronized SecContext newContext ( CallbackHandler ch , String configurationName ) throws SecException

Parameters

Exceptions