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
-
ch –
The callback handler to use when authenticating the context.
-
configurationName –
name of the configuration to use for the context.
Exceptions
-
SecException class –
if an error occurs while creating the security context