我们正面临一个问题,我将尽力向您解释。 我们有一个使用Jira和CAS的客户端的工作配置(图中的绿色方块),现在我们想要的是将Confluence与Jira集成,但使用本地身份验证。当我们对此进行测试时,它从Jira到Confluence,但从Confluence到Jira,则无效。有没有办法隔离身份验证方法?这样我们就可以将Jira与CAS一起使用,而将Jira与Confluence通过本地身份验证分开使用。
2018-08-14 10:30:25,839 https-jsse-nio-8443-exec-3 ERROR [o.a.c.c.C.[.[localhost].[/].[default]] Servlet.service() para servlet default lanzó excepción
java.lang.NullPointerException
at com.atlassian.jira.security.login.JiraSeraphAuthenticator.getUserFromBasicAuthentication(JiraSeraphAuthenticator.java:149)
at com.atlassian.seraph.auth.DefaultAuthenticator.getUser(DefaultAuthenticator.java:339)
at org.jasig.cas.client.integration.atlassian.Jira44CasAuthenticator.getUser(Jira44CasAuthenticator.java:76)
at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:45)
at com.atlassian.seraph.filter.BaseLoginFilter$SecurityHttpRequestWrapper.getUserPrincipal(BaseLoginFilter.java:238)
... 1 filtered
at javax.servlet.http.HttpServletRequestWrapper.getRemoteUser(HttpServletRequestWrapper.java:168)
... 27 filtered
at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76)
... 1 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74)
... 10 filtered
at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:100)
... 8 filtered
at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
... 3 filtered