constructor |
CallbackHandlerSwingCCOW(java.awt.Frame windowParent,
gov.va.med.hds.cd.ccow.IContextModule applicationCcowContextModule,
gov.va.med.hds.cd.ccow.IClinicalContextBroker applicationCcowContextBroker):
Creates a callback handler for VistaLink logins, using a SWING interface, and
using the CCOW-enabled features of VistaLink to provide a CCOW-enabled login.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
windowParent |
Input |
java.awt.Frame windowParent: Allows login dialogs to
be centered over a parent frame (a top-level window with a title and border)
and associated with the parent application for display purposes. If null is
passed, login dialogs are centered based on the screen itself.
|
appCcowContextModule |
Input |
gov.va.med.hds.cd.ccow.IContextModule
applicationCcowContextModule appCcowContextModule: NOT USED, pass null for
now. PREVIOUSLY WAS: the application's CCOW context module the login module
should use to read the CCOW context. Second parameter in method signature.
|
appCcowContextBroker |
Input |
gov.va.med.hds.cd.ccow.IClinicalContextBroker
appCcowContextBroker: the application's CCOW context broker the login module
should use to read the CCOW context.
|
|
hasNonNullUserContext |
public static boolean
hasNonNullUserContext(java.util.Map contextItems):
Returns whether the context contains at least one user context item.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
contextItems |
Input |
java.util.Map contextItems - Map of context items
representing a context.
|
return |
Output |
boolean return value: true if the context has at
least one non-null user context key/value pair.
|
|
handle |
public void
handle(javax.security.auth.callback.Callback[] arg0) throws
javax.security.auth.callback.UnsupportedCallbackException:
Implementation of handle() method required in JAAS CallbackHandler interface,
used by JAAS to perform callbacks to retrieve or display information.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
callbacks |
Input |
javax.security.auth.callback.Callback[] array as
defined in the avax.security.auth.callback.CallbackHandler interface.
|
throws |
Output |
Throws:
javax.security.auth.callback.UnsupportedCallbackException
|
|
VHA_CCOW_LOGON_DOMAIN |
public static java.lang.String: CCOW user context key
holding the VistA domain name.
|
|
VHA_CCOW_LOGON_NAME |
public static java.lang.String: CCOW user context key
under which the user name is stored.
|
|
VHA_CCOW_LOGON_NAME_GENERIC |
public static java.lang.String: The non-VA-specific
generic CCOW user context key under which the user name is stored.
|
|
VHA_CCOW_LOGON_TOKEN |
public static java.lang.String: The CCOW user context
key under which the Kernel token is stored.
|
|
VHA_CCOW_LOGON_VPID |
public static java.lang.String: The CCOW user context
key under which the VPID is stored.
|
|
VHA_CCOW_USER_CONTEXT_KEYS |
public static java.lang.String[]: Array containing
the complete set of VHA CCOW user context keys.
DATE ACTIVATED: JUL 11, 2008
|
|