Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

beders
Copy link

@beders beders commented Apr 20, 2015

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).

…with two implementations (necessary to support OAuth), added Project.searchAssignableUsers

private HttpClient httpClient = null;
private ICredentials creds = null;
private HttpContext context;
Copy link
Owner

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?

Copy link
Author

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.

Copy link
Owner

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.

@bobcarroll
Copy link
Owner

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:

<properties>
    <maven.compiler.source>1.7</maven.compiler.source>
    <maven.compiler.target>1.7</maven.compiler.target>
</properties>

Also, I'd like @chaplinkyle to test attachments since he wrote that code.

@beders
Copy link
Author

beders commented Jul 24, 2015

I'll have more changes in my local version I need to merge as well.

Copy link

@hmdsd7316 hmdsd7316 left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants