Skip to content

Commit

Permalink
Merge pull request #41 from terrestris/update-geoserver-config
Browse files Browse the repository at this point in the history
Update GeoServer config
  • Loading branch information
dnlkoch committed Jun 28, 2022
2 parents 744af48 + 8c0b119 commit e9050f1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
shogun-geoserver/geoserver_data/logs/log.*
shogun-geoserver/geoserver_data/logs/*.log*
shogun-geoserver/geoserver_data/geofence/geofence_db/*.log.db
shogun-geoserver/geoserver_data/geofence/geofence_db/*.lock.db
shogun-postgis/postgresql_data
shogun-redis/redis_data

Expand Down
Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions shogun-geoserver/geoserver_data/security/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
<filters name="gwc" class="org.geoserver.security.ServiceLoginFilterChain" interceptorName="restInterceptor" exceptionTranslationName="exception" path="/gwc/rest/**" disabled="false" allowSessionCreation="false" ssl="false" matchHTTPMethod="false">
<filter>basic</filter>
</filters>
<filters name="getsession" class="org.geoserver.security.ServiceLoginFilterChain" interceptorName="interceptor" exceptionTranslationName="exception" path="/www/getsession.json" disabled="false" allowSessionCreation="false" ssl="false" matchHTTPMethod="true" httpMethods="GET">
<filter>shogun-keycloak</filter>
</filters>
<filters name="default" class="org.geoserver.security.ServiceLoginFilterChain" interceptorName="interceptor" exceptionTranslationName="exception" path="/**" disabled="false" allowSessionCreation="false" ssl="false" matchHTTPMethod="false">
<filter>shogun-keycloak</filter>
<filter>anonymous</filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
<name>shogun-keycloak</name>
<className>org.geoserver.security.keycloak.GeoServerKeycloakFilter</className>
<adapterConfig>{&#xd;
&quot;realm&quot;: &quot;SpringBootKeycloak&quot;,&#xd;
&quot;auth-server-url&quot;: &quot;https://192.168.178.91/auth/&quot;,&#xd;
&quot;realm&quot;: &quot;SHOGun&quot;,&#xd;
&quot;auth-server-url&quot;: &quot;https://localhost/auth/&quot;,&#xd;
&quot;bearer-only&quot;: true,&#xd;
&quot;ssl-required&quot;: &quot;external&quot;,&#xd;
&quot;resource&quot;: &quot;geoserver-client&quot;,&#xd;
&quot;credentials&quot;: {&#xd;
&quot;secret&quot;: &quot;K84ZIbwrzPtjtK1vHbBN2S3bSWArnwuR&quot;&#xd;
},&#xd;
&quot;use-resource-role-mappings&quot;: false,&#xd;
&quot;resource&quot;: &quot;shogun-geoserver&quot;,&#xd;
&quot;use-resource-role-mappings&quot;: true,&#xd;
&quot;disable-trust-manager&quot;: true,&#xd;
&quot;confidential-port&quot;: 0,&#xd;
&quot;enable-basic-auth&quot;: true&#xd;
}</adapterConfig>
</keycloakAdapter>
</keycloakAdapter>
Empty file.

0 comments on commit e9050f1

Please sign in to comment.