Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-8681

[fiware-stackoverflow] Fiware: How to restrict user access to specific entity for Orion Context Broker API using keystone & keypass

    Details

      Description

      Created question in FIWARE Q/A platform on 10-05-2017 at 20:05
      Please, ANSWER this question AT http://stackoverflow.com/questions/43900428/fiware-how-to-restrict-user-access-to-specific-entity-for-orion-context-broker

      Question:
      Fiware: How to restrict user access to specific entity for Orion Context Broker API using keystone & keypass

      Description:
      First of all, I'm using the Telefonica implementations of Identity Manager, Authorization PDP and PEP Proxy, instead of the Fiware reference implementations which are Keyrock, AuthZForce and Wilma PEP Proxy. The source code and reference documentation of each component can be found in the following GitHub repos:

      Telefonica keystone-spassword:

      GitHub /telefonicaid/fiware-keystone-spassword

      Telefonica keypass:

      GitHub /telefonicaid/fiware-keypass

      Telefonica PEP-Proxy:

      GitHub /telefonicaid/fiware-pep-steelskin

      Besides, I'm working with my own in-house installation of the components, NO Fi-Lab. In addition to security components, I've an IoT Agent-UL instance and an Orion Context Broker instance.

      Starting from that configuration, I've created a domain in keystone (Fiware-Service) and a project inside the domain (Fiware-ServicePath). Then I've one device connected to the platform, sendding data to the IoT Agent behind the PEP Proxy. The whole device message is represented as a single Entity in Orion Context Broker.

      So, the question is:

      How can I restrict a specific keystone user to access only to the entity associated to this device, at the level of the Orion Context Broker API?

      I know that I can allow/deny user acces to specific API via keystone Roles and XACML Policies but that implies that I should create one Policy per User-Device pair.

      I could use some help with this, to know if I'm on the right way.

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Assignee Fermín Galán [ fermin ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 10-05-2017 at 20:05
        {color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/43900428/fiware-how-to-restrict-user-access-to-specific-entity-for-orion-context-broker


        +Question:+
        Fiware: How to restrict user access to specific entity for Orion Context Broker API using keystone & keypass

        +Description:+
        First of all, I'm using the Telefonica implementations of Identity Manager, Authorization PDP and PEP Proxy, instead of the Fiware reference implementations which are Keyrock, AuthZForce and Wilma PEP Proxy. The source code and reference documentation of each component can be found in the following GitHub repos:


        Telefonica keystone-spassword:


        GitHub /telefonicaid/fiware-keystone-spassword


        Telefonica keypass:


        GitHub /telefonicaid/fiware-keypass


        Telefonica PEP-Proxy:


        GitHub /telefonicaid/fiware-pep-steelskin

        Besides, I'm working with my own in-house installation of the components, NO Fi-Lab. In addition to security components, I've an IoT Agent-UL instance and an Orion Context Broker instance.

        Starting from that configuration, I've created a domain in keystone (Fiware-Service) and a project inside the domain (Fiware-ServicePath). Then I've one device connected to the platform, sendding data to the IoT Agent behind the PEP Proxy. The whole device message is represented as a single Entity in Orion Context Broker.

        So, the question is:

        How can I restrict a specific keystone user to access only to the entity associated to this device, at the level of the Orion Context Broker API?

        I know that I can allow/deny user acces to specific API via keystone Roles and XACML Policies but that implies that I should create one Policy per User-Device pair.

        I could use some help with this, to know if I'm on the right way.
        Created question in FIWARE Q/A platform on 10-05-2017 at 20:05
        {color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/43900428/fiware-how-to-restrict-user-access-to-specific-entity-for-orion-context-broker


        +Question:+
        Fiware: How to restrict user access to specific entity for Orion Context Broker API using keystone & keypass

        +Description:+
        First of all, I'm using the Telefonica implementations of Identity Manager, Authorization PDP and PEP Proxy, instead of the Fiware reference implementations which are Keyrock, AuthZForce and Wilma PEP Proxy. The source code and reference documentation of each component can be found in the following GitHub repos:


        Telefonica keystone-spassword:


        GitHub /telefonicaid/fiware-keystone-spassword


        Telefonica keypass:


        GitHub /telefonicaid/fiware-keypass


        Telefonica PEP-Proxy:


        GitHub /telefonicaid/fiware-pep-steelskin

        Besides, I'm working with my own in-house installation of the components, NO Fi-Lab. In addition to security components, I've an IoT Agent-UL instance and an Orion Context Broker instance.

        Starting from that configuration, I've created a domain in keystone (Fiware-Service) and a project inside the domain (Fiware-ServicePath). Then I've one device connected to the platform, sendding data to the IoT Agent behind the PEP Proxy. The whole device message is represented as a single Entity in Orion Context Broker.

        So, the question is:

        How can I restrict a specific keystone user to access only to the entity associated to this device, at the level of the Orion Context Broker API?

        I know that I can allow/deny user acces to specific API via keystone Roles and XACML Policies but that implies that I should create one Policy per User-Device pair.

        I could use some help with this, to know if I'm on the right way.
        HD-Chapter Data [ 10838 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: