Uploaded image for project: 'GeoServer'
  1. GEOS-7804

GeoFence and Control-flow are incompatible

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.9.1, 2.9.2
    • Fix Version/s: 2.9.5, 2.10.4, 2.11-RC1
    • Component/s: Control-flow, GeoFence
    • Labels:
      None
    • Environment:

      Description

      If I install both, login doesn't work; it shows the same page as if the user/password were incorrect. This appears in the log:

      19 Oct 14:17:15 ERROR [auth.GeoFenceAuthenticationProvider] - Error in authenticating with GeoFence
      com.google.common.util.concurrent.UncheckedExecutionException: org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [${servicesUrl}]; nested exception is java.net.MalformedURLException: no protocol: ${servicesUrl}
      	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
      	at com.google.common.cache.LocalCache.get(LocalCache.java:3934)
      	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
      	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
      	at org.geoserver.geofence.cache.CachedRuleReader.authorize(CachedRuleReader.java:277)
      	at org.geoserver.geoserver.authentication.auth.GeoFenceAuthenticationProvider.authenticate(GeoFenceAuthenticationProvider.java:84)
      	at org.geoserver.security.GeoServerAuthenticationProvider.authenticate(GeoServerAuthenticationProvider.java:58)
      

      If I remove the control-flow jars and restart it works as expected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vicgonco Víctor González
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: