Error when using JIRA for User Management with SSO enabled
Symptoms
Users are getting the following error when logging into Fisheye:
Password incorrect or unknown user
Also from Fisheye logs we got:
2011-06-14 11:13:53,999 WARN [btpool0-59 ] fisheye.app CrowdAuth-authenticate - Problem communicating with Crowd
com.atlassian.crowd.exception.OperationFailedException
at com.atlassian.crowd.integration.rest.service.RestCrowdClient.handleCommonExceptions(RestCrowdClient.java:1084)
at com.atlassian.crowd.integration.rest.service.RestCrowdClient.authenticateSSOUser(RestCrowdClient.java:809)
at com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.authenticate(CrowdHttpAuthenticatorImpl.java:59)
at com.cenqua.fisheye.user.crowd.CrowdAuth$2.call(CrowdAuth.java:207)
and from JIRA logs we have:
Jun 14, 2011 11:13:53 AM com.sun.jersey.server.impl.application.WebApplicationImpl onException
SEVERE: Internal server error
java.lang.NullPointerException
at com.atlassian.crowd.plugin.rest.service.controller.TokenController.createSession(TokenController.java:170)
at com.atlassian.crowd.plugin.rest.service.controller.TokenController.authenticateUser(TokenController.java:65)
at com.atlassian.crowd.plugin.rest.service.resource.TokenResource.authenticateUser(TokenResource.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Cause
This happens when the SSO option is left enabled.
Resolution
Disabling SSO will do the trick:
- Go to Fisheye Administration.
- Click on Authentication under Security Settings.
- Click Edit button under JIRA / Crowd Authentication Settings.
- Set option Single Sign On to Disabled and click next.
- Synchronize group(s) again, save and exit.
Last modified on Jul 31, 2018
Powered by Confluence and Scroll Viewport.