[ https://jira.fiware.org/browse/HELP-5766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez updated HELP-5766:
---------------------------------
HD-Chapter: Security
HD-Enabler: AuthZForce
> [fiware-askbot] Problems creating a domain in Fiware AuthZforce Authorization Server
> ------------------------------------------------------------------------------------
>
> Key: HELP-5766
> URL: https://jira.fiware.org/browse/HELP-5766
> Project: Help-Desk
> Issue Type: Monitor
> Reporter: Backlog Manager
> Assignee: Cyril Dangerville
> Labels: OAuth, authzforce, fiware
>
> Created question in FIWARE Q/A platform on 26-01-2016 at 11:01
> {color: red}Please, ANSWER this question AT{color} https://ask.fiware.org/question/337/problems-creating-a-domain-in-fiware-authzforce-authorization-server/
> +Question:+
> Problems creating a domain in Fiware 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?
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy