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

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

    Details

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

      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.
      On the same machine I installed AuthZForce.

      Java OpenJDK 1.7.0_91 and Tomcat 7 are installed on Ubuntu 14.04.

      I followed the installation guide and installed AuthZforce with gdebi, but
      I can't actually create domanin with the curl command found in the guide:

      *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
      <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*
      When I execute the command I get 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
      <http://authzforce.github.io/rest-api-model/xmlns/authz/4>"
      xmlns:ns3="http://www.w3.org/2005/Atom <http://www.w3.org/2005/Atom>"
      xmlns:ns4="http://authzforce.github.io/core/xmlns/pdp/3.6
      <http://authzforce.github.io/core/xmlns/pdp/3.6>"
      xmlns:ns5="http://authzforce.github.io/pap-dao-file/xmlns/properties/3.6
      <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
      <https://codeload.github.com/authzforce/rest-api-model/zip/release-4.4.0>
      in the the programmer's guide gives a 404 error.

      Can you suggest how to fix this issue?

      Thanks in advance,
      Michele.

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-tech-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help
      [Created via e-mail received from: Michele Gucciardo <michelegucciardo84@gmail.com>]

        Issue Links

          Activity

          Hide
          cdangerville Cyril Dangerville added a comment -

          duplicate of HELP-5744

          Show
          cdangerville Cyril Dangerville added a comment - duplicate of HELP-5744

            People

            • Assignee:
              cdangerville Cyril Dangerville
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: