Print Page as PDF
gov.va.med.vistalink.security.VistaKernelPrincipalImpl ICR (5224)

gov.va.med.vistalink.security.VistaKernelPrincipalImpl    ICR (5224)

Name Value
NUMBER 5224
IA # 5224
DATE CREATED 2008/07/01
CUSTODIAL PACKAGE VISTALINK SECURITY
USAGE Supported
TYPE Other
DBIC APPROVAL STATUS APPROVED
NAME gov.va.med.vistalink.security.VistaKernelPrincipalImpl
GENERAL DESCRIPTION
public final class VistaKernelPrincipalImpl extends
java.lang.Object implements java.io.Serializable, VistaKernelPrincipal

Implements the gov.va.med.vistalink.security.m.VistaKernelPrincipal interface.
Represents a JAAS principal representing a logged on Kernel user on an M
system.
STATUS Active
KEYWORDS VistaLink
DURATION Till Otherwise Agreed
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
getAuthenticatedConnection
public
gov.va.med.vistalink.adapter.cci.VistaLinkConnection
getAuthenticatedConnection(): Retrieve the authenticated connection from this
principal after logon.
VARIABLES TYPE VARIABLES DESCRIPTION
return Output
return value
gov.va.med.vistalink.adapter.cci.VistaLinkConnection: the authenticated Vista
connection, post-successful logon.
getKernelPrincipal
public static
gov.va.med.vistalink.security.VistaKernelPrincipalImpl
getKernelPrincipal(javax.security.auth.Subject jaasSubject) throws
FoundationsException:

returns the single Kernel principal contained in a JAAS subject returned by a
JAAS LoginContext after a successful VistaLink logon to Vista.
VARIABLES TYPE VARIABLES DESCRIPTION
jaasSubject Input
javax.security.auth.Subject jaasSubject:  JAAS
subject returned by a JAAS LoginContext after a successful VistaLink logon to
Vista.
return Output
return value
gov.va.med.vistalink.security.VistaKernelPrincipalImpl:
VistaKernelPrincipalImpl Kernel principal contained in the JAAS subject.
throws Output
throws gov.va.med.exception.FoundationsException: If
no Kernel principal, or more than one, are found, an exception is thrown.
getName
public java.lang.String getName():

get the Principal's full name from the New Person .01 field.
VARIABLES TYPE VARIABLES DESCRIPTION
return Output
returns java.lang.String: the user name (from the New
Person .01 field) of the Principal.
getUserDemographicValue
public java.lang.String
getUserDemographicValue(java.lang.String key): returns a given user
demographic value.
VARIABLES TYPE VARIABLES DESCRIPTION
key Input
java.lang.String key: The key under which the
demographic value is stored.
return Output
returns java.lang.String: the value of the
demographic value requested.
DATE ACTIVATED 2008/07/11