OpenAM 13: UMA: deleting resources

Tagged: , ,

This topic has 0 replies, 1 voice, and was last updated 5 years, 1 month ago by full2.

  • Author
    Posts
  • #17831
     full2
    Participant

    I am trying to delete a resource set created in UMA in openam13.
    After creating it, i got a etag like
    W/-88888888

    Notice the W the, / and the minus sign.

    If i try to send that etag to delete it, i got an error.
    In bug https://bugster.forgerock.org/jira/browse/OPENAM-6095, it seems it works, but ironically the etag received and sent are diferent. The sign changes.
    In documentation , the etag seems to be like a positive number, so it works out of the box.
    But i got a “W / – number” after creating the RSet; and i dont know what to send exactly , with the “” , with the w , with the /, only the negative number….

    In another bug, https://bugster.forgerock.org/jira/browse/OPENAM-6538 it seems that it must be used the etag received after getting a second time the resource. But the bug was closed.

    Questions:
    -Is the etag received after creating, valid to delete the rset? Or i must do another GET operation to read it, and get another (sucessfull?) etag?
    -In any case, how must the etag be sent? Any example, please? The W/ must be sent? The “” must be escaped?

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?