[ 
https://issues.apache.org/jira/browse/NIFI-4197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365504#comment-16365504
 ] 

Julian Gimbel edited comment on NIFI-4197 at 2/15/18 1:14 PM:
--------------------------------------------------------------

Two additional attributes proxy_user and proxy_password for authenticated proxy 
usage would be awesome:

 
{code:java}
final String authUser = "user";
final String authPassword = "password";
Authenticator.setDefault(
   new Authenticator() {
      @Override
      public PasswordAuthentication getPasswordAuthentication() {
         return new PasswordAuthentication(
            authUser, authPassword.toCharArray()
         );
      }
   }
);

{code}
 

 


was (Author: jugi):
Two additional attributes proxy_user and proxy_password for authenticated proxy 
usage would be awesome:

{{{{final String authUser = "user";
}}}}{{{{final String authPassword = "password"; }}}}
{{{{Authenticator.setDefault( new Authenticator() { }}}}
{{{{   @Override public PasswordAuthentication getPasswordAuthentication() {
        return new PasswordAuthentication( authUser, 
                      authPassword.toCharArray()); } } ); }}}}

> *GCP processors do not expose proxy settings
> --------------------------------------------
>
>                 Key: NIFI-4197
>                 URL: https://issues.apache.org/jira/browse/NIFI-4197
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Andre F de Miranda
>            Assignee: Andre F de Miranda
>            Priority: Major
>             Fix For: 1.5.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to