-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added OAuth authentication, Project.searchAssignableUsers #83
base: master
Are you sure you want to change the base?
Conversation
…with two implementations (necessary to support OAuth), added Project.searchAssignableUsers
|
||
private HttpClient httpClient = null; | ||
private ICredentials creds = null; | ||
private HttpContext context; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see this being set anywhere by default. Can you initialise null?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean context?
Fields in Java are set to null by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I didn't realise that. I always initialise out of habit from my C days.
Thanks for implementing OAuth support! Despite the large change, I think there's a lot of value in including it. Can you rebase against master? Also please add this to the pom:
Also, I'd like @chaplinkyle to test attachments since he wrote that code. |
I'll have more changes in my local version I need to merge as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please solve the conflict and merge it please.
I need OAuth
This is a major change and it's fine if you reject it.
It adds several dependencies to get JiraClient to support OAuth via fernandezpablo85/scribe-java (which required RestClient to become an abstract base class).