com.businesslink.sgi.api.hsm
Class HsmClientDetails

java.lang.Object
  |
  +--com.businesslink.sgi.api.hsm.HsmClientDetails

public final class HsmClientDetails
extends java.lang.Object
implements HsmConstants

Provides details about the HSM client making the HSM request. These details describe the client which made the original HSM request as well as the client which made the immediate HSM request (immediate client is used for authority checking).


Fields inherited from interface com.businesslink.sgi.api.hsm.HsmConstants
CCS_ASCII, CCS_HEX, CCS_JOB, CCS_MSG, CCS_STRATEGI, CCS_UNICODE, CCS_USEBC, CCS_UTF8, HSM_CLC_LOCAL, HSM_CTP_CONTROL, HSM_CTP_HSTUSR, HSM_CTP_SERVER, HSM_CTP_SGI, HSM_OPC_ECHO, HSM_OPC_ERROR, HSM_OPC_NO_SVR, HSM_OPC_PING, HSM_OPC_STOP, HSM_OPC_STOPPED, HSM_OPC_TIMEOUT, HSM_OPC_WRTPFR, HSM_OPT_AUTIDN, HSM_OPT_AUTTYP, HSM_OPT_CLTLOC, HSM_OPT_CUR, HSM_OPT_HEX, HSM_OPT_JOB, HSM_OPT_MSG, HSM_OPT_RCVTMO, HSM_OPT_RPYCCS, HSM_OPT_RQSCCS, HSM_OPT_SGI, HSM_OPT_UNI, HSM_OPT_USRATR, HSM_UAT_NOTSET
 
Constructor Summary
HsmClientDetails()
           
 
Method Summary
 java.lang.String getAuthorityId()
          Returns the client ID used for authority checking.
 java.lang.String getAuthorityType()
          Returns the client type used for authority checking.
 java.lang.String getId()
          Returns the client ID of the original requestor.
 java.lang.String getLocation()
          Returns the location of the original requestor.
 java.lang.String getType()
          Returns the client type of the original requestor.
 java.lang.String getUserAttribute()
          Returns the user attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsmClientDetails

public HsmClientDetails()
Method Detail

getAuthorityType

public java.lang.String getAuthorityType()
Returns the client type used for authority checking.
Returns:
authority client type

getAuthorityId

public java.lang.String getAuthorityId()
Returns the client ID used for authority checking.
Returns:
authority client ID

getType

public java.lang.String getType()
Returns the client type of the original requestor.
Returns:
client type

getId

public java.lang.String getId()
Returns the client ID of the original requestor.
Returns:
client ID

getLocation

public java.lang.String getLocation()
Returns the location of the original requestor. This value is set when using DHSM. A value of *LOCAL refers to the local machine.
Returns:
location

getUserAttribute

public java.lang.String getUserAttribute()
Returns the user attribute.
Returns:
user attribute