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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • webhdfs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: