public interface HsConsoleInterface
Modifier and Type | Field and Description |
---|---|
static int |
CONSOLE |
static int |
DAEMON |
static int |
WINDOW |
Modifier and Type | Method and Description |
---|---|
HsIdentifier |
createId(HsOperation operation)
Called from the TIB/Hawk Console API to obtain identification information
needed to pack a message into secure form.
|
java.lang.String |
describe()
All implementers must provide a description of themselves.
|
java.lang.String |
initialize(int context)
Called via the Console API to initialize the security plug-in.
|
HsPackedOperation |
pack(HsIdentifier id,
HsOperation operation)
Called from the TIB/Hawk Console API to transform every request into
secure form.
|
void |
shutdown(int context)
Called via the Console API to shutdown the security plug-in.
|
static final int WINDOW
static final int CONSOLE
static final int DAEMON
java.lang.String initialize(int context) throws HsException
the
- context of the invoker. Possible contexts are WINDOW
which indicates an interactive windowing environment. It is possible to
perform interactive activities from within this context. CONSOLE
which indicates an interactive console session. It is also possible to
perform interactive command-line activities from withint this context.
DAEMON which indicates a non-interactive batch or background
process. It is not possible to perform interactive activites from within
this context.HsException
- is thrown by the plug-in to indicate an error.
and error.void shutdown(int context) throws HsException
the
- context of the invoker. Possible contexts are WINDOW
which indicates an interactive windowing environment. It is possible to
perform interactive activities from within this context. CONSOLE
which indicates an interactive console session. It is also possible to
perform interactive command-line activities from withint this context.
DAEMON which indicates a non-interactive batch or background
process. It is not possible to perform interactive activites from within
this context.HsException
- is thrown by the plug-in to indicate an error.
and error.HsIdentifier createId(HsOperation operation) throws HsException
request
- The object containing the operation request.HsException
- is thrown by the plug-in to indicate an error.
and error.HsPackedOperation pack(HsIdentifier id, HsOperation operation) throws HsException
id
- The security object that was produced by createId().operation
- The object containing the request.HsException
- is thrown by the plug-in to indicate an error.
and error.java.lang.String describe()
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.