Hi, Anyone could give me some help on this?
Thanks, Juan Pablo Vadell | *VATROX* On Mon, Oct 8, 2018 at 12:24 PM Juan Pablo Vadell <[email protected]> wrote: > Hi, > > Anyone could give me somo help on this? > > Thanks, > > Juan Pablo Vadell | *VATROX* > > > > On Fri, Sep 14, 2018 at 12:12 AM Juan Pablo Vadell <[email protected]> > wrote: > >> Hi, >> >> I can't user Array values on Attributes in a XACML. >> >> This works. >> { >> "Request": { >> "AccessSubject": { >> "Attribute": [ >> { >> "AttributeId": >> "urn:oasis:names:tc:xacml:1.0:subject:subject-id", >> *"Value": "pdp-user"* >> } >> ] >> }, >> "Action": { >> "Attribute": [] >> }, >> "Resource": { >> "Attribute": [ >> { >> "AttributeId": "resource-id", >> *"Value": "helloWorld"* >> } >> ] >> }, >> "Environment": { >> "Attribute": [] >> } >> } >> } >> >> Response: >> { >> "Response": [ >> { >> "Decision": "Permit", >> "Status": { >> "StatusCode": { >> "Value": "urn:oasis:names:tc:xacml:1.0:status:ok" >> } >> } >> } >> ] >> } >> >> This doesn't work. >> >> { >> "Request": { >> "AccessSubject": { >> "Attribute": [ >> { >> "AttributeId": >> "urn:oasis:names:tc:xacml:1.0:subject:subject-id", >> *"Value": ["pdp-user"]* >> } >> ] >> }, >> "Action": { >> "Attribute": [] >> }, >> "Resource": { >> "Attribute": [ >> { >> "AttributeId": "resource-id", >> *"Value": ["helloWorld"]* >> } >> ] >> }, >> "Environment": { >> "Attribute": [] >> } >> } >> } >> >> Response: >> { >> "code": 40020, >> "message": "Request Parse Exception." >> } >> >> There is a way to fix this? >> >> Thank you, >> >> Juan Pablo Vadell | *VATROX* >> *CTO* >> >> >>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
