Uploaded image for project: 'PUBLIC - OAuth2'
  1. PUBLIC - OAuth2
  2. OAUTH2-238

Support ability to create custom RequiresScope annotations

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: None
    • Labels:
      None

      Description

      So a user can create a custom annotation such as

              @Retention(RetentionPolicy.RUNTIME)
      	@RequiresScope("everything.read")
      	public static @interface RequiresScopeRead {
      
      	}
      

      and use that instead of the more verbose RequiresScope directly

        Attachments

          Activity

            People

            • Assignee:
              carlos.sierra Carlos Sierra
              Reporter:
              carlos.sierra Carlos Sierra
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                Master