opendevstack / ods-provisioning-app

Provisioning app, which triggers project and component provisions (including Jira / Confluence / BitBucket and OCP resource creation)
Apache License 2.0
15 stars 20 forks source link

Prov-app error with Atlassian Crowd 5 #740

Closed BraisVQ closed 1 year ago

BraisVQ commented 2 years ago

Describe the bug After an upgrade to Atlassian Crowd version5.x, the Prov-app could no longer validate users against it.

To Reproduce Steps to reproduce the behavior:

  1. Update to Atlassian Crowd versioon 5.x
  2. Try login with prov-app

Screenshots Atlassian Crowd have removed SOAP api in it's 5.0 release -> release notes

image

Affected version:

Log Output (ensure to remove any confidential information like tokens, project names, etc.

2022-08-16 11:54:19 ERROR c.a.c.i.s.CrowdSSOAuthenticationProcessingFilter - Unable to unset Crowd SSO token
2792org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Unexpected EOF in prolog
2793at [row,col {unknown-source}]: [1,0]
2794at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:92)
2795at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
2796at com.sun.proxy.$Proxy115.authenticateApplication(Unknown Source)
2797at com.atlassian.crowd.service.soap.client.SecurityServerClientImpl.authenticate(SecurityServerClientImpl.java:235)
2798at com.atlassian.crowd.service.soap.client.SecurityServerClientImpl.getSoapApplicationToken(SecurityServerClientImpl.java:215)
2799at com.atlassian.crowd.service.soap.client.SecurityServerClientImpl.getCookieInfo(SecurityServerClientImpl.java:1524)
2800at com.atlassian.crowd.integration.http.HttpAuthenticatorImpl.invalidateClient(HttpAuthenticatorImpl.java:86)
2801at com.atlassian.crowd.integration.http.HttpAuthenticatorImpl.logoff(HttpAuthenticatorImpl.java:287)
2802at com.atlassian.crowd.integration.springsecurity.CrowdSSOAuthenticationProcessingFilter.unsuccessfulAuthentication(CrowdSSOAuthenticationProcessingFilter.java:250)
2803at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:240)

@metmajer