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

FIWARE.Question.Tech.Security.AuthorizationPDP.Problems creating a domain in AuthZforce Authorization Server

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Created question in FIWARE Q/A platform on 26-01-2016 at 11:01
      Please, ANSWER this question AT https://ask.fiware.org/question/337/problems-creating-a-domain-in-authzforce-authorization-server/

      Question:
      Problems creating a domain in AuthZforce Authorization Server

      Description:
      Hi,

      I'm developing an authentication/authorization scheme, based on Oauth 2.0, using the Fiware Enablers: Keyrock IdM, Wilma Proxy and AuthZForce authorization server.

      I installed and configured Keyrock and Wilma and they work fine together. I'm actually having problems with AuthZForce.
      I followed the installation guide but I can't actually create a domain with curl:

      curl --verbose --trace-ascii - --request POST \
      --header "Content-Type: application/xml;charset=UTF-8" \
      --data '<?xml version="1.0" encoding="UTF-8"?><taz:domainProperties xmlns:taz="http://authzforce.github.io/rest-api-model/xmlns/authz/4"> <name>MyDomain</name><description>This is my domain.</description></taz:domainProperties>' \
      --header "Accept: application/xml" http://$

      {MYSERVERHOST}

      :$

      {MYPORT}

      /authzforce-ce/domains

      I got the following error:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:error xmlns:ns2="http://authzforce.github.io/rest-api-model/xmlns/authz/4" xmlns:ns3="http://www.w3.org/2005/Atom" xmlns:ns4="http://authzforce.github.io/core/xmlns/pdp/3.6" xmlns:ns5="http://authzforce.github.io/pap-dao-file/xmlns/properties/3.6"><message>Invalid parameters: cvc-complex-type.2.4.a: Invalid content starting with "name". Invalid content was found starting with element "name". An element "

      {description, rootPolicyRef}

      " is expected.</message></ns2:error>

      It seems to be an xml validation error. I tried to access the AuthZforce API but the link in the the programmer's guide gives a 404 error.

      Can anyone suggest how to fix this issue?

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          21h 39m 1 Cyril Dangerville 27/Jan/16 2:42 PM
          In Progress In Progress Answered Answered
          15s 1 Cyril Dangerville 27/Jan/16 2:43 PM
          Answered Answered Closed Closed
          23h 40m 1 Cyril Dangerville 28/Jan/16 2:23 PM
          fla Fernando Lopez made changes -
          Fix Version/s 2021 [ 12600 ]
          mev Manuel Escriche made changes -
          HD-Enabler AuthZForce [ 10887 ]
          HD-Chapter Security [ 10841 ]
          cdangerville Cyril Dangerville made changes -
          Summary FIWARE.Question.Tech.Problems creating a domain in AuthZforce Authorization Server FIWARE.Question.Tech.Security.AuthorizationPDP.Problems creating a domain in AuthZforce Authorization Server
          cdangerville Cyril Dangerville made changes -
          Link This issue is duplicated by HELP-5759 [ HELP-5759 ]
          backlogmanager Backlog Manager made changes -
          Summary [fiware-askbot] Problems creating a domain in AuthZforce Authorization Server FIWARE.Question.Tech.Problems creating a domain in AuthZforce Authorization Server
          cdangerville Cyril Dangerville made changes -
          Resolution Done [ 10000 ]
          Status Answered [ 10104 ] Closed [ 6 ]
          cdangerville Cyril Dangerville made changes -
          Link This issue is duplicated by HELP-5757 [ HELP-5757 ]
          Hide
          cdangerville Cyril Dangerville added a comment -

          answered on ask.fiware.org

          Show
          cdangerville Cyril Dangerville added a comment - answered on ask.fiware.org
          cdangerville Cyril Dangerville made changes -
          Status In Progress [ 3 ] Answered [ 10104 ]
          cdangerville Cyril Dangerville made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          mev Manuel Escriche made changes -
          Component/s FIWARE-TECH-HELP [ 10278 ]
          mev Manuel Escriche made changes -
          Field Original Value New Value
          Assignee Cyril Dangerville [ cyril.dangerville ]
          Hide
          backlogmanager Backlog Manager added a comment -

          2016-01-26 17:05|CREATED monitor | # answers= 0, accepted answer= False

          Show
          backlogmanager Backlog Manager added a comment - 2016-01-26 17:05|CREATED monitor | # answers= 0, accepted answer= False
          backlogmanager Backlog Manager created issue -

            People

            • Assignee:
              cdangerville Cyril Dangerville
              Reporter:
              backlogmanager Backlog Manager
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: