Subclasses that would like to initialize each SecContext before any other methods are called may do so in this method.
Syntax
void
initContext
(
Map< String, Object >
context
) throws SecException
Parameters
-
context –
the context from the SecContext that is being initialized
Exceptions
-
SecException class –
if any error occurs while creating the context. This will invalidate the context so care should be made about throwing this exception. The exception will be propogated to the client.
Usage
The context object will NOT have the SEC_CONTEXT key because the security context has not been created yet.