Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9175

Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to public

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: webhdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      org.apache.hadoop.hdfs.web.oauth2.AccessTokenProvider#getAccessToken() and org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider#getCredential() abstract methods are having default scope.
      Unfortunately, it restricts the users from having the custom implementations of these classes in a different package.
      So, the proposal is to change scope of these abstract methods to public.

        Attachments

        1. HDFS-9175.1.patch
          1 kB
          Santhosh G Nayak

          Issue Links

            Activity

              People

              • Assignee:
                snayak Santhosh G Nayak
                Reporter:
                snayak Santhosh G Nayak
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: