Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6663

Scope based authorization support for OAuth2 RS endpoints

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.5, 3.2.0
    • JAX-RS Security
    • None
    • Unknown

    Description

      Annotations like @ConfidentialClient, @Scopes("a", "b") should be used in the combinations or separately, ex, this method can only be invoked if the client behind this access token is confidential, and/or this client has 'a' and 'b' scopes approved. OAuth2 filter can already do some fine-grained authorization (restrict to specific HTTP verbs or URI subsets) and the RS code can use OauthContext to manually check the scopes, the client type, etc, but the annotation-based AC would be quite handy too

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: