Create a new context with the supplied configuration selectors and the callback handler.
Syntax
SecContext
newContext
(
CallbackHandler
ch
,
Map< String, Object >
selectors
) throws SecException
Parameters
-
ch –
The callback handler to use when authenticating the context.
-
selectors –
The configuration selectors to use. This collection is authoritative and overrides the default factory selectors.
Returns
a new context