[Geoserver-devel] [JIRA] (GEOS-10933) keycloak logout NPE

Zoran Kokeza created an issue

GeoServer / BugGEOS-10933

keycloak logout NPE

Issue Type:

BugBug

Affects Versions:

2.23.0

Assignee:

Unassigned

Components:

Security

Created:

11/Apr/23 11:59 AM

Priority:

MediumMedium

Reporter:

Zoran Kokeza

After deploying the geoserver 2.23.0 integrated with keycloak user can’t logout from geoserver anymore. The exception is pointing to the lines added as part of https://osgeo-org.atlassian.net/browse/GEOS-10843

java.lang.NullPointerException
	org.geoserver.security.keycloak.GeoServerKeycloakFilter.logout(GeoServerKeycloakFilter.java:127)
	org.geoserver.security.filter.GeoServerLogoutFilter.doLogout(GeoServerLogoutFilter.java:90)
	org.geoserver.security.filter.GeoServerLogoutFilter.doFilter(GeoServerLogoutFilter.java:78)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
	org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71)
	org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilterInternal(GeoServerSecurityContextPersistenceFilter.java:72)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
	org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75)
	org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
	org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
	org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221)
	org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186)
	org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:142)
	org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354)
	org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267)
	org.geoserver.filters.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:77)
	org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:48)
	org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:49)
	org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:42)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100221-sha1:9ff53d8)

Atlassian logo