使用okta SSO验证JIRA API

时间:2017-01-06 07:38:12

标签: jira jira-rest-api okta

尝试使用Java代码(与Okta SSO集成)使用JIRA API进行身份验证。我尝试过基本身份验证,但没有运气。例外是:

2017-01-05 14:22:15.112 ERROR 5824 --- [ent-io:thread-1]
o.a.h.n.p.HttpAsyncRequestExecutor       : http-outgoing-1 [CLOSED]
HTTP protocol exception: null

java.nio.channels.ClosedChannelException: null
        at sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:257)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:300)
        at org.apache.http.nio.reactor.ssl.SSLIOSession.receiveEncryptedData(SSLIOSession.java:340)
        at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:366)
        at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:220)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:284)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
        at java.lang.Thread.run(Thread.java:745)


java.nio.channels.ClosedChannelException:null
        at sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:257)

我想了解是否有其他方法来验证JIRA API?

0 个答案:

没有答案