使用Java在jira中进行OAuth身份验证 [英] OAuth authentication in jira by using Java

查看:622
本文介绍了使用Java在jira中进行OAuth身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从我的java应用程序发送REST请求以在jira中创建问题。
所以我没有遇到发送请求的问题,当我通过浏览器创建问题时问题创造完美(因为如果我不是错误JIRA使用cookie来自动化)
任何人都可以给我建议如何在Java中实现OAuth jira授权?
我之前从未这样做过,我认为这并不难,但我不知道我需要从什么开始。
我发现这个 OAuth示例这个 JIRA的REST请求文档。
你能否告诉我任何有关OAuth的文档或任何有关java autorisation的例子。

I want to send REST request to create issues in jira from my java application. So i haven't got problems with sending request, and issue creates perfectly while i create issue through browser(cause if i'm not mistake JIRA use cookies to autorisation) Can anybody give me advice how to implement OAuth jira authorisation in Java? I never did this before i think it's not difficult but i don't know what i need to start. I find this OAuth example and this REST request documentation for JIRA. Can you advice me any doc's about OAuth or any examples with java autorisation.

先谢谢。

推荐答案

我假设你已经来过这里了,但你不能比官方网站,了解其运作方式的文档。

I'm assuming you've been here already, but you can't get much better than the official website for documentation on how it works.

(根据我的评论请求移植)

(Ported over from my comment as requested)

这篇关于使用Java在jira中进行OAuth身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆