VistALink v1.5.0.026

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

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

public class VistaLinkVpidConnectionSpec
extends VistaLinkConnectionSpecImpl

This is the connection spec class for VPID re-authentication.

Note: Kernel patch XU*8.0*309, must be installed to successfully use the VPID method of logging on. At the time of development of this preview release, this patch has not yet been officially released.

Version:
1.5.0.026
Author:
Application Modernization - Foundations Team

Constructor Summary
VistaLinkVpidConnectionSpec()
           
VistaLinkVpidConnectionSpec(java.lang.String division, java.lang.String vpid)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.ArrayList getProprietarySecurityInfo()
          Compares two objects to see if they are equal
 java.lang.String getSecurityType()
          returns the security mechanism type
 java.lang.String getVpid()
           
 int hashCode()
           
 boolean isConnSpecEqual(java.lang.Object obj)
          Deprecated.  
 void setAuthenticationNodes(org.w3c.dom.Document requestDoc, org.w3c.dom.Node securityNode)
          creates the xml in the security node
 void setVpid(java.lang.String vpid)
           
 
Methods inherited from class gov.va.med.vistalink.adapter.cci.VistaLinkConnectionSpecImpl
clearSecurityNode, getDivision, getSecurityState, setDivision, setSecurityDivisionAttr, setSecurityState, setSecurityStateAttr, setSecurityTypeAttr
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VistaLinkVpidConnectionSpec

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

VistaLinkVpidConnectionSpec

public VistaLinkVpidConnectionSpec(java.lang.String division,
                                   java.lang.String vpid)
Parameters:
vpid - the VPID identifier for the end-user.
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

getVpid

public java.lang.String getVpid()
Returns:
VPID

setVpid

public void setVpid(java.lang.String vpid)

getProprietarySecurityInfo

public java.util.ArrayList getProprietarySecurityInfo()
Compares two objects to see if they are equal

Returns:
Security info
See Also:
gov.va.med.vistalink.adapter.cci.VistaLinkConnectionSpec#getProprietarySecurityInfo(org.w3c.dom.Node)
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

isConnSpecEqual

public boolean isConnSpecEqual(java.lang.Object obj)
Deprecated.  

Compares two objects to see if they are equal

Parameters:
obj - the object to compare
See Also:
VistaLinkConnectionSpec.isConnSpecEqual(java.lang.Object)
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

setAuthenticationNodes

public void setAuthenticationNodes(org.w3c.dom.Document requestDoc,
                                   org.w3c.dom.Node securityNode)
creates the xml in the security node

Parameters:
requestDoc - the Document object that contains the nodes
securityNode - the node to create the XML under
See Also:
VistaLinkConnectionSpec.setAuthenticationNodes(org.w3c.dom.Document, org.w3c.dom.Node)
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

getSecurityType

public java.lang.String getSecurityType()
returns the security mechanism type

See Also:
VistaLinkConnectionSpec.getSecurityType()
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

VistALink v1.5.0.026

VistALink v1.5.0.026