VistALink v1.6

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

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

public class VistaLinkVpidConnectionSpec
extends gov.va.med.vistalink.adapter.cci.VistaLinkConnectionSpecImpl

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


Constructor Summary
VistaLinkVpidConnectionSpec()
           
VistaLinkVpidConnectionSpec(java.lang.String division, java.lang.String vpid)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.ArrayList getProprietarySecurityInfo()
          Gets the security information as a proprietary string
 java.lang.String getSecurityType()
          returns the security mechanism type
 java.lang.String getVpid()
           
 int hashCode()
           
 boolean isConnSpecEqual(java.lang.Object obj)
          Deprecated. Use equals() method.
 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)
Parameters:
vpid - the VPID to set for this connection spec.

getProprietarySecurityInfo

public java.util.ArrayList getProprietarySecurityInfo()
Gets the security information as a proprietary string

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

isConnSpecEqual

public boolean isConnSpecEqual(java.lang.Object obj)
Deprecated. Use equals() method.

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)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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.6

VistALink v1.6