Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2233

show a security scheme example - rest clients

XMLWordPrintable

    • Icon: Support Request Support Request
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • None
    • None

      It would be really helpful to see an example of a configuration before itemizing the configuration in a table. Its a bit difficult to visualize the layers of it with out a concrete example.

      https://docs.magnolia-cms.com/product-docs/6.2/Modules/List-of-modules/REST-Client-module.html#_security_scheme

      Here is my example:

      baseUrl: http://localhost:8080/magnoliaPublic
      securitySchemes: # define one or more schemes
        basic: 
          $type: basic
          username: superuser
          password: superuser
      restCalls: 
        myCommand: 
          method: post
          entityClass: com.fasterxml.jackson.databind.JsonNode
          path: /.rest/commands/v2/myCatalog/myCommand
          securityScheme: basic # set the scheme for the call
      

            mdrapela Martin DrĂ¡pela
            rgange Richard Gange
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: