AMQPCBS: Indicating that multiple challenge-responses are required to transmit token set

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • cbs-WD04
    • Affects Version/s: cbs-WD03
    • Component/s: Claims Based Security
    • None
    • Hide

      Based on the 5/5/17 TC call, there was agreement to:

      1. Use NUL NUL to signal that the response contains the final token
      2. To allow optional validation - but fast-fail on the first validation error

      Show
      Based on the 5/5/17 TC call, there was agreement to: 1. Use NUL NUL to signal that the response contains the final token 2. To allow optional validation - but fast-fail on the first validation error

      If the token set exceeds the frame size for sasl-init, then additional sasl-challenge and sasl-response pairs are required to send the remaining tokens.

      Multiple approaches are possible. WD3 uses a simple strawman to encourage discussion. When the server has received all the tokens based on the token count, it stops sending sasl-challenge and sends a sasl-outcome.

      Other options include:

      • The equivalent of the transfer more field is added to the response data:

      RESPONSE = TOKEN-COUNT 1*TOKEN MORE

      to indicate whether additional sasl-challenge and sasl-response frames are required to complete the exchange.

      • A "magic" value like NUL NUL could follow the last token and signal completion.

      • The server always sends an "empty" sasl-challenge and the client responds with an "empty" sasl-response when the exchange is complete. This is especially inefficient if all the tokens are sent in the sasl-init.

            Assignee:
            brianraymor
            Reporter:
            brianraymor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: