Layer7 API Management

Expand all | Collapse all

Is it possible to enforce routing and template usage ?

  • 1.  Is it possible to enforce routing and template usage ?

    Posted Jul 01, 2016 11:29 AM

    Hello community !

     

    I need your help on 2 problems I've been struggling with.

     

    1. I want, for a given user of the API Gateway, define a set of URLs he can route to with the "Route via HTTP" assertion, and enforce the usage of these URLs. For example, let's say I have 2 users : User A and User B :

    User A can only route to

         URL 1

         URL 2

    User B can only route to

         URL 3

         URL 4

    And I don't want them to have the possibility to route to any other URLs than the ones I defined for them.

     

    2. Is it possible to enforce, for a given user, the use of a policy template ? In other terms, I want a user to develop only within the canvas I configured for him, which could be different from one user to another.

     

    Are these things possible to implement within the CA API Gateway ?

     

    Thank you.

    Best regards



  • 2.  Re: Is it possible to enforce routing and template usage ?
    Best Answer

    Posted Jul 04, 2016 07:24 AM

    Hi FrederickMiszewski,

                                             In the Internal identity provider, there is concept of User Roles. You can leverage this & create users with different roles. You policy logic should be designed using policy branching. Create a branch for every role & corresponding endpoint.

     

    Thanks,

    Abhishek