VistALink v1.5.0.026

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

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

public class VistaLinkDuzConnectionSpec
extends VistaLinkConnectionSpecImpl

This is the connection spec class for Duz re-authentication

Version:
1.5.0.026
Author:
Application Modernization - Foundations Team

Constructor Summary
VistaLinkDuzConnectionSpec()
           
VistaLinkDuzConnectionSpec(java.lang.String division, java.lang.String duz)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDuz()
           
 java.util.ArrayList getProprietarySecurityInfo()
          Gets the security information as a proprietary string
 java.lang.String getSecurityType()
          returns the security mechanism type
 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 setDuz(java.lang.String string)
          Sets the DUZ
 
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

VistaLinkDuzConnectionSpec

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

VistaLinkDuzConnectionSpec

public VistaLinkDuzConnectionSpec(java.lang.String division,
                                  java.lang.String duz)
Parameters:
duz - The DUZ 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

getDuz

public java.lang.String getDuz()
Returns:
DUZ

setDuz

public void setDuz(java.lang.String string)
Sets the DUZ

Parameters:
string -

getProprietarySecurityInfo

public java.util.ArrayList getProprietarySecurityInfo()
Description copied from interface: VistaLinkConnectionSpec
Gets the security information as a proprietary string

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