[jira] [Updated] (HDFS-9175) Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to public

2015-09-30 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-9175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HDFS-9175:

Status: Patch Available  (was: Open)

> Change scope of 'AccessTokenProvider.getAccessToken()' and 
> 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to 
> public
> --
>
> Key: HDFS-9175
> URL: https://issues.apache.org/jira/browse/HDFS-9175
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: webhdfs
>Affects Versions: 2.8.0
>Reporter: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> Attachments: HDFS-9175.1.patch
>
>
> {{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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HDFS-9175) Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to public

2015-09-30 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-9175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HDFS-9175:

Hadoop Flags: Reviewed

+1 pending pre-commit run.  This makes sense, given that the class itself is 
advertised as public.  I'll submit this for pre-commit run now.

> Change scope of 'AccessTokenProvider.getAccessToken()' and 
> 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to 
> public
> --
>
> Key: HDFS-9175
> URL: https://issues.apache.org/jira/browse/HDFS-9175
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: webhdfs
>Affects Versions: 2.8.0
>Reporter: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> Attachments: HDFS-9175.1.patch
>
>
> {{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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HDFS-9175) Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to public

2015-09-30 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-9175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HDFS-9175:

   Resolution: Fixed
Fix Version/s: 2.8.0
   Status: Resolved  (was: Patch Available)

I have committed this to trunk and branch-2.  [~snayak], thank you for the 
contribution.

> Change scope of 'AccessTokenProvider.getAccessToken()' and 
> 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to 
> public
> --
>
> Key: HDFS-9175
> URL: https://issues.apache.org/jira/browse/HDFS-9175
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: webhdfs
>Affects Versions: 2.8.0
>Reporter: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> Fix For: 2.8.0
>
> Attachments: HDFS-9175.1.patch
>
>
> {{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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HDFS-9175) Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to public

2015-09-29 Thread Santhosh G Nayak (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-9175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Santhosh G Nayak updated HDFS-9175:
---
Attachment: HDFS-9175.1.patch

Attaching a patch containing the proposed changes.

> Change scope of 'AccessTokenProvider.getAccessToken()' and 
> 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to 
> public
> --
>
> Key: HDFS-9175
> URL: https://issues.apache.org/jira/browse/HDFS-9175
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: webhdfs
>Affects Versions: 2.8.0
>Reporter: Santhosh G Nayak
>Assignee: Santhosh G Nayak
> Attachments: HDFS-9175.1.patch
>
>
> {{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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)