Add support of basic auth for jira

Review Request #9830 — Created March 23, 2018 and updated

misery
Review Board
release-3.0.x
4083
a9f2d39...
reviewboard
If the hosted bug tracker is not readable by
an anonymous connection it is necessary to
provide valid credentials to fetch jira information.

These adds support to add username and password
for a simple authentication.

Added this patch, saved settings with empty username
and empty password. Saw that it cannot fetch any
information from jira as the connection is not
authorized.

Saved the settings wird a valid username and
valid password. Saw that it can fetch all
information.

  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
is this available in public WebAPI? How can I encrypt it? Will it be encrypted with SECRET_KEY? misery misery
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
misery
  1. 
      
  2. reviewboard/hostingsvcs/jira.py (Diff revision 1)
     
     
     
     
     
     

    is this available in public WebAPI? How can I encrypt it? Will it be encrypted with SECRET_KEY?

    1. It gets stored in extra_data, which can be exposed.

      For how to encrypt things, I'd look at some of the other hosting services (beanstalk, for example). Search for encrypt_password/decrypt_password.

  3. 
      
misery
  1. 
      
  2. ping? any help?

  3. 
      
Loading...