public class VistaLinkAppProxyConnectionSpec
extends gov.va.med.vistalink.adapter.cci.VistaLinkConnectionSpecImpl
Constructor and Description |
---|
VistaLinkAppProxyConnectionSpec() |
VistaLinkAppProxyConnectionSpec(java.lang.String division,
java.lang.String appProxyName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAppProxyName() |
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.
Use equals() method.
|
void |
setAppProxyName(java.lang.String string)
Sets the Application Proxy Name
|
void |
setAuthenticationNodes(org.w3c.dom.Document requestDoc,
org.w3c.dom.Node securityNode)
creates the xml in the security node
|
public VistaLinkAppProxyConnectionSpec()
public VistaLinkAppProxyConnectionSpec(java.lang.String division, java.lang.String appProxyName)
appProxyName
- The Application Proxy Name identifier for the proxy 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).
public java.lang.String getAppProxyName()
public void setAppProxyName(java.lang.String string)
string
- public java.util.ArrayList getProprietarySecurityInfo()
VistaLinkConnectionSpec
VistaLinkConnectionSpec.getProprietarySecurityInfo()
public boolean isConnSpecEqual(java.lang.Object obj)
obj
- the object to compareVistaLinkConnectionSpec.isConnSpecEqual(java.lang.Object)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setAuthenticationNodes(org.w3c.dom.Document requestDoc, org.w3c.dom.Node securityNode)
requestDoc
- the Document object that contains the nodessecurityNode
- the node to create the XML underVistaLinkConnectionSpec.setAuthenticationNodes(org.w3c.dom.Document,
org.w3c.dom.Node)
public java.lang.String getSecurityType()
VistALink v1.6a