The HB_TRUSTED_HOST directive lets you tell HostBridge that the incoming request is asking that the mainframe 'server' that HostBridge is running on is to be treated as a trusted host.  It is used in conjunction with the HB_TRUSTED_USERIDS directive; both HB_TRUSTED_HOST=1 and a valid HB_TRUSTED_USERIDS directive have to be specified in order for HostBridge trusted host processing to be active.

If HB_TRUSTED_HOST=1 is specified, the HostBridge analyzer will inspect the HTTP requests headers, looking for a header named HB_TRUSTED_HOST.  The value of this header will be the user ID that will be used to execute the request, and will be presumed to be authorized for that request.  This user ID MUST be also specified in the list of user IDs defined by the HB_TRUSTED_USERIDS directive.

When specifying HB_TRUSTED_HOST=1, it must be specified in the HBR@INIT program or DOCTEMPLATE. Click here for further information on HBR@INIT and how to specify directives within it.

When using this directive, the Basic Authentication setting for the TCPIPSERVICE definition(s) for HostBridge requests should be set to Basic.

This directive is typically used when accessing HostBridge via a secure pipe (via SSL) or accessed utilizing SSO (single sign on). 

Format: HB_TRUSTED_HOST=value


0Do not treat as a trusted host
1Treat as a trusted host

Default Value: 0


Related Directives:  


© 2022 HostBridge Technology, LLC
Unless otherwise noted, all rights reserved.