Lab 3.1 - Create the HTTP Connector Request

The HTTP Connector is made up of two parts. The first part is called the HTTP Connector Transport and it defines settings related to SSL, DNS, timeouts, and payload sizes. The second part is the HTTP Connector Request which contains specific details such as HTTP Method, URL, message body, and how to handle the HTTP responses.

Task - Create a DNS Resolver

  1. Navigate to Network >> DNS Resolvers >> DNS Resolver List. Click the + Symbol

    image0

  2. Enter Name internal_resolver and click Finished

    image1

  3. Click internal_resolver

    image2

  4. Click the Forward Zones tab

    image3

  5. Click Add

    image4

  6. Enter . (a Single dot) in the Name field

  7. Add a Nameserver by entering Address 10.1.20.7 and click Add

  8. Click Finished

    image5

Task - Create a ServerSide SSL Profile

  1. Navigate to Local Traffic >> Profiles >> SSL >> Server. Click the + Symbol

    image6

  2. Enter Name adapi.f5lab.local

  3. Check Custom box to the right of the Certificate and Key fields to make them editable.

  4. Select apiadmin.crt from the Certificate dropdown

  5. Select apiadmin.key from the key dropdown

  6. Click Finished at the Bottom of the page

    image7

Task - Create a HTTP Connector Transport

  1. Navigate to Access >> Authentication >> HTTP Connector >> HTTP Connector Transport Click the + (Plus Symbol)

    image8

  2. Enter the name demo-http-connector

  3. Select internal_resolver from the DNS Resolver dropdown

  4. Select adapi.f5lab.local from the Server SSL Profile

  5. Click Save

    image9

Task - Create a HTTP Connector Request

  1. Navigate to Access >> Authentication >> HTTP Connector >> HTTP Connector Request. Click the + (Plus Symbol)

    image10

  2. Enter name get-aduser-attributes

  3. Select demo-http-connector from the dropdown

  4. Enter URL https://adapi.f5lab.local:8443/aduser/get?useridentity=%{perflow.username}

  5. Enter GET for the Method

  6. Select Parse for the Response Action

  7. Click Save

    image11