1. 17 Sep, 2012 8 commits
    • Łukasz Nowak's avatar
      Improve "interface". · f55c9148
      Łukasz Nowak authored
      Return token on addition.
      Use proxied scripts to access whole system in order to allow unprivileged user
      to manage own tokens.
      Update roles immediately in order to give unprivileged user access to
      validated token.
      f55c9148
    • Łukasz Nowak's avatar
      Delegate token validation. · 66dce3b4
      Łukasz Nowak authored
      By requiring token_validation_method extraction plugin is only responsible
      for low level implementation.
      66dce3b4
    • Łukasz Nowak's avatar
      Improve token management. · 8ea51d93
      Łukasz Nowak authored
      BearerTokenModule_addNewToken allows to add token for Person passed as
      destination_reference. In case if Person has no key assigned new one is
      generated.
      
      BearerToken_isValid allows to validate token against (possibly) related person
      object.
      
      Base_getHMAC is low level interface to hmac module.
      
      In order to made tokens unique use User-Agent and REMOTE_ADDR in token
      generation body. Thanks to this token will be narrowed to one broswer. In order
      to avoid reuse token on different servers add Host.
      
      Key to generate HMAC are stored on Person object using bearer_token_key property.
      8ea51d93
    • Łukasz Nowak's avatar
      fae29934
    • Łukasz Nowak's avatar
      Fix condition. · 7c9fa1a8
      Łukasz Nowak authored
      7c9fa1a8
    • Łukasz Nowak's avatar
      Allow to edit plugin. · d8af8315
      Łukasz Nowak authored
      d8af8315
    • Łukasz Nowak's avatar
      d5008fbe
    • Łukasz Nowak's avatar
      Provide simple Bearer extraction plugin. · 30e131ed
      Łukasz Nowak authored
      Bearer is token used in OAuth 2. This plugin extracts this token from
      Authorisation header and uses defined portal type query in order to check
      if token is valid and for which user.
      30e131ed
  2. 14 Sep, 2012 4 commits
  3. 13 Sep, 2012 5 commits
  4. 12 Sep, 2012 1 commit
  5. 10 Sep, 2012 2 commits
  6. 05 Sep, 2012 2 commits
  7. 03 Sep, 2012 1 commit
  8. 31 Aug, 2012 1 commit
  9. 30 Aug, 2012 2 commits
  10. 29 Aug, 2012 4 commits
  11. 28 Aug, 2012 1 commit
  12. 27 Aug, 2012 8 commits
  13. 24 Aug, 2012 1 commit