HTTP Interface

The HTTP interface type defines the connections to an HTTP/s host and can be used by Broadway Actors.

To create a new HTTP interface, do the following:

  1. Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select HTTP from the Interface Type dropdown menu to open the New Interface window.

    image

  2. Populate the connection's settings and click Save.

Connection Settings

 Parameter  Description
 Protocol Type  Select between HTTP and HTTPs
 Host  Hostname or IP address of the HTTP server
 Port  Port of the HTTP server
 Path  (Optional) A specific path on the Host endpoint
 Authentication Type Access authentication type. Default value = Basic.
When selected displays additional properties that can be populated
Authentication Settings

The Fabric HTTP Interface supports various standard authentication and authorization types (aka schemas) that can be used to access external protected resources.

Each Authentication Type requires specific security credentials (provided by the resource provider) that are populated by the implementer into the HTTP Interface Properties and used by Fabric to authenticate remote vendor servers.

Fabric supports the following:

  • Basic HTTP Authentication, built into the HTTP protocol. Fabric (the client) sends HTTP requests with the Authorization header that contains the word Basic followed by <user:password> in base64-encoded form. This interface requires the following properties:

    • User
    • Password

    Note that since this mechanism does not provide confidentiality it is usually used over HTTPS and not HTTP.

  • Bearer Authentication (aka token authentication), an HTTP Authentication Type / schema that uses cryptic string security tokens called Bearer Tokens. Fabric (the client) sends this token in the Authorization header when sending requests to a resource. This interface requires the following properties:

    • token
  • OAuth 2.0 Password Credentials, an OAuth protocol's grant type flow. Fabric (the client) first interacts with an authorization server, provides a user and password and gets an access token which is then used for the resource server's calls. This interface requires the following properties:

    • User

    • Password

    • Access Token URL, address of the authorization server providing the access token.

    • Client ID, provided by the external resource / authorized vendor.

    • Client Secret, provided by the external resource / authorized vendor. Note that although the Client Server is encrypted and saved it is displayed in clear text in the Fabric Studio.

    • Scope (optional), validates that the required actions are permitted by the authenticating server which returns the access token's scope to the client. The value of the scope parameter is expressed as a list of space-delimited, case-sensitive strings.

    • Token Timeout, request timeout to the authorization server.

  • OAuth 2.0 Client Credentials, an OAuth protocol grant type flow. Fabric provides the client-ID and Client-Secret to the authorization server which returns the access token used by Fabric for the resource's server calls. In Fabric this interface requires the following properties:

    • Client ID, provided by the external resource / authorized vendor.

    • Client Secret, provided by the external resource / authorized vendor. Note that although the secret key is encrypted and saved, it is displayed in clear text in the Fabric Studio.

    • Scope (optional), specifies the scope of the access request. In turn, the authorization server uses the scope response parameter to inform the client of the scope of the access token issued. The value of the scope is expressed as a list of space-delimited, case-sensitive strings.

    • Token Timeout, request timeout to the authorization server.

If the service provider does not require authentication, select None in the Authentication Type.

Example of Using an HTTP/HTTPS Interface in a Broadway Flow

image

The above Broadway flow uses an Http Actor to connect to the HTTP server that populates the predefined HTTP interface into the interface input argument. The path input argument must be populated by the path relative to the interface. Note that HTTPS requests are included in this HTTP Actor whose security settings are defined in the interface.

Previous

HTTP Interface

The HTTP interface type defines the connections to an HTTP/s host and can be used by Broadway Actors.

To create a new HTTP interface, do the following:

  1. Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select HTTP from the Interface Type dropdown menu to open the New Interface window.

    image

  2. Populate the connection's settings and click Save.

Connection Settings

 Parameter  Description
 Protocol Type  Select between HTTP and HTTPs
 Host  Hostname or IP address of the HTTP server
 Port  Port of the HTTP server
 Path  (Optional) A specific path on the Host endpoint
 Authentication Type Access authentication type. Default value = Basic.
When selected displays additional properties that can be populated
Authentication Settings

The Fabric HTTP Interface supports various standard authentication and authorization types (aka schemas) that can be used to access external protected resources.

Each Authentication Type requires specific security credentials (provided by the resource provider) that are populated by the implementer into the HTTP Interface Properties and used by Fabric to authenticate remote vendor servers.

Fabric supports the following:

  • Basic HTTP Authentication, built into the HTTP protocol. Fabric (the client) sends HTTP requests with the Authorization header that contains the word Basic followed by <user:password> in base64-encoded form. This interface requires the following properties:

    • User
    • Password

    Note that since this mechanism does not provide confidentiality it is usually used over HTTPS and not HTTP.

  • Bearer Authentication (aka token authentication), an HTTP Authentication Type / schema that uses cryptic string security tokens called Bearer Tokens. Fabric (the client) sends this token in the Authorization header when sending requests to a resource. This interface requires the following properties:

    • token
  • OAuth 2.0 Password Credentials, an OAuth protocol's grant type flow. Fabric (the client) first interacts with an authorization server, provides a user and password and gets an access token which is then used for the resource server's calls. This interface requires the following properties:

    • User

    • Password

    • Access Token URL, address of the authorization server providing the access token.

    • Client ID, provided by the external resource / authorized vendor.

    • Client Secret, provided by the external resource / authorized vendor. Note that although the Client Server is encrypted and saved it is displayed in clear text in the Fabric Studio.

    • Scope (optional), validates that the required actions are permitted by the authenticating server which returns the access token's scope to the client. The value of the scope parameter is expressed as a list of space-delimited, case-sensitive strings.

    • Token Timeout, request timeout to the authorization server.

  • OAuth 2.0 Client Credentials, an OAuth protocol grant type flow. Fabric provides the client-ID and Client-Secret to the authorization server which returns the access token used by Fabric for the resource's server calls. In Fabric this interface requires the following properties:

    • Client ID, provided by the external resource / authorized vendor.

    • Client Secret, provided by the external resource / authorized vendor. Note that although the secret key is encrypted and saved, it is displayed in clear text in the Fabric Studio.

    • Scope (optional), specifies the scope of the access request. In turn, the authorization server uses the scope response parameter to inform the client of the scope of the access token issued. The value of the scope is expressed as a list of space-delimited, case-sensitive strings.

    • Token Timeout, request timeout to the authorization server.

If the service provider does not require authentication, select None in the Authentication Type.

Example of Using an HTTP/HTTPS Interface in a Broadway Flow

image

The above Broadway flow uses an Http Actor to connect to the HTTP server that populates the predefined HTTP interface into the interface input argument. The path input argument must be populated by the path relative to the interface. Note that HTTPS requests are included in this HTTP Actor whose security settings are defined in the interface.

Previous