VistALink v1.5.0.026

gov.va.med.vistalink.adapter.cci
Class VistaLinkConnectionSpecImpl

java.lang.Object
  extended bygov.va.med.vistalink.adapter.cci.VistaLinkConnectionSpecImpl
All Implemented Interfaces:
javax.resource.cci.ConnectionSpec, VistaLinkConnectionSpec
Direct Known Subclasses:
VistaLinkAppProxyConnectionSpec, VistaLinkDuzConnectionSpec, VistaLinkVpidConnectionSpec

public abstract class VistaLinkConnectionSpecImpl
extends java.lang.Object
implements VistaLinkConnectionSpec

This is the base implementation class for VistaLinkConnectionSpec

Version:
1.5.0.026
Author:
Application Modernization - Foundations Team

Constructor Summary
VistaLinkConnectionSpecImpl()
          Note that division is required to be set into a connection spec before it can be used.
VistaLinkConnectionSpecImpl(java.lang.String division)
           
 
Method Summary
 void clearSecurityNode(org.w3c.dom.Node securityNode)
          clears the information in the security node
 java.lang.String getDivision()
          Returns the user name of this ConnectionSpec.
 gov.va.med.vistalink.adapter.spi.EMReAuthState getSecurityState()
          returns the state of re-authentication
 void setDivision(java.lang.String string)
          Sets the division
 void setSecurityDivisionAttr(org.w3c.dom.Node securityNode)
          Sets the division in the security Xml
 void setSecurityState(gov.va.med.vistalink.adapter.spi.EMReAuthState reAuthState)
          Sets the security state in the securityNode to identify the re-authentication state
 void setSecurityStateAttr(org.w3c.dom.Node securityNode)
          Sets the security state in the securityNode to identify the re-authentication state
 void setSecurityTypeAttr(org.w3c.dom.Node securityNode)
          Sets the security type in the security xml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.va.med.vistalink.adapter.cci.VistaLinkConnectionSpec
getProprietarySecurityInfo, getSecurityType, isConnSpecEqual, setAuthenticationNodes
 

Constructor Detail

VistaLinkConnectionSpecImpl

public VistaLinkConnectionSpecImpl()
Note that division is required to be set into a connection spec before it can be used.

 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

VistaLinkConnectionSpecImpl

public VistaLinkConnectionSpecImpl(java.lang.String division)
Parameters:
division - The station number (e.g., "523", "523BZ", etc.) requested as the division under which logon/actions should be conducted for this user on the target Kernel/M system.

The division parameter for connection specs is mandatory. This ensures that division requested for a connection on behalf of an end-user matches the division actually accessed on the M side of the connection.

The value to pass for the division parameter is the division station number, e.g., "523", "523BZ", etc. This is the value found in field 99 ('Station Number') of the corresponding entry in the Institution File on the M system.

On the M side, if a user doesn't have one or more "divisions" specified in the DIVISION (#200.02) multiple of their New Person file entry, the division passed in with the connection spec must be the station number of the division set into the DEFAULT INSTITUTION (#217) field of the KERNEL SYSTEM PARAMETERS (#8989.3) file entry for the site. This value is set by Kernel into DUZ(2).

On the M side, if a user has one or more "divisions" specified in the DIVISION (#200.02) multiple of their New Person file entry, the division passed in with the connection spec must be the station number for one of those divisions present in that multiple. This value will be set by Kernel into DUZ(2).

Method Detail

getDivision

public java.lang.String getDivision()
Description copied from interface: VistaLinkConnectionSpec
Returns the user name of this ConnectionSpec.

Specified by:
getDivision in interface VistaLinkConnectionSpec
Returns:
Current Station # setting

setDivision

public void setDivision(java.lang.String string)
Description copied from interface: VistaLinkConnectionSpec
Sets the division

Specified by:
setDivision in interface VistaLinkConnectionSpec
Parameters:
string - Station #

setSecurityState

public void setSecurityState(gov.va.med.vistalink.adapter.spi.EMReAuthState reAuthState)
Sets the security state in the securityNode to identify the re-authentication state

Parameters:
reAuthState - reauthentication state to set
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

getSecurityState

public gov.va.med.vistalink.adapter.spi.EMReAuthState getSecurityState()
returns the state of re-authentication

Returns:
Security state
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

setSecurityDivisionAttr

public void setSecurityDivisionAttr(org.w3c.dom.Node securityNode)
Sets the division in the security Xml

Parameters:
securityNode - Security Node
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

setSecurityStateAttr

public void setSecurityStateAttr(org.w3c.dom.Node securityNode)
Sets the security state in the securityNode to identify the re-authentication state

Parameters:
securityNode - Security node
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

setSecurityTypeAttr

public void setSecurityTypeAttr(org.w3c.dom.Node securityNode)
Sets the security type in the security xml

Parameters:
securityNode - Security node
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

clearSecurityNode

public void clearSecurityNode(org.w3c.dom.Node securityNode)
clears the information in the security node

Specified by:
clearSecurityNode in interface VistaLinkConnectionSpec
Parameters:
securityNode - the node to clear
See Also:
VistaLinkConnectionSpec.clearSecurityNode(org.w3c.dom.Node)
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

VistALink v1.5.0.026

VistALink v1.5.0.026