I’m trying to develop a community module for Azure SSO integration using the openid-connect extension.
Following the directions [herehttps://docs.geoserver.org/latest/en/developer/quickstart/eclipse.html, I’m unable to get the oauth2 plugins to load during development.
Build seems to go through successfully, but when going to the authentication page, the plugins are not there.
During web application Start, I get an error for a couple modules, but proceeding seems to work anyways. This happens during regular mvn eclipse:eclipse builds as well, though, for fewer modules.
I’ve also attached a screenshot of the auth filter page. As you can see, even though these plugins have been enabled through their profiles, they do not appear as options.
Any help would be much appreciated.
Sample of mvn logs (full attached):
[INFO] GeoServer .......................................... SUCCESS [ 13.262 s]
[INFO] Core Platform Module ............................... SUCCESS [ 2.389 s]
[INFO] Open Web Service Module ............................ SUCCESS [ 1.959 s]
[INFO] Main Module ........................................ SUCCESS [ 8.823 s]
[INFO] GeoServer Security Modules ......................... SUCCESS [ 0.272 s]
[INFO] GeoServer Security Tests Module .................... SUCCESS [ 17.714 s]
[INFO] GeoServer JDBC Security Module ..................... SUCCESS [ 4.430 s]
[INFO] GeoServer LDAP Security Module ..................... SUCCESS [ 1.522 s]
[INFO] Web Coverage Service Module ........................ SUCCESS [ 1.458 s]
[INFO] Web Coverage Service 1.0 Module .................... SUCCESS [ 1.703 s]
[INFO] Web Coverage Service 1.1 Module .................... SUCCESS [ 2.429 s]
[INFO] Web Coverage Service 2.0 Module .................... SUCCESS [ 1.917 s]
[INFO] Web Feature Service Module ......................... SUCCESS [ 2.587 s]
[INFO] Web Map Service Module ............................. SUCCESS [ 3.863 s]
[INFO] KML support for GeoServer .......................... SUCCESS [ 4.074 s]
[INFO] gs-rest ............................................ SUCCESS [ 1.277 s]
[INFO] GeoWebCache (GWC) Module ........................... SUCCESS [ 2.288 s]
[INFO] gs-restconfig ...................................... SUCCESS [ 1.484 s]
[INFO] gs-restconfig-wcs .................................. SUCCESS [ 1.544 s]
[INFO] gs-restconfig-wfs .................................. SUCCESS [ 1.294 s]
[INFO] gs-restconfig-wms .................................. SUCCESS [ 1.462 s]
[INFO] WMTS REST configuration ............................ SUCCESS [ 2.170 s]
[INFO] GeoServer Web Modules .............................. SUCCESS [ 0.048 s]
[INFO] Core UI Module ..................................... SUCCESS [ 2.224 s]
[INFO] WMS UI Module ...................................... SUCCESS [ 1.955 s]
[INFO] GWC UI Module ...................................... SUCCESS [ 1.826 s]
[INFO] WFS UI Module ...................................... SUCCESS [ 1.419 s]
[INFO] Demos Module ....................................... SUCCESS [ 1.733 s]
[INFO] WCS UI Module ...................................... SUCCESS [ 1.755 s]
[INFO] Security UI Modules ................................ SUCCESS [ 0.052 s]
[INFO] Security UI Core Module ............................ SUCCESS [ 1.588 s]
[INFO] Security UI JDBC Module ............................ SUCCESS [ 1.433 s]
[INFO] Security UI LDAP Module ............................ SUCCESS [ 1.518 s]
[INFO] REST UI Module ..................................... SUCCESS [ 1.417 s]
[INFO] GeoServer Extensions ............................... SUCCESS [ 0.054 s]
[INFO] Authentication by unique url key ................... SUCCESS [ 2.089 s]
[INFO] GeoServer OAuth2 Connect Security Module - Core .... SUCCESS [ 1.858 s]
[INFO] GeoServer OAuth2 Connect Security Module - Google Token Service SUCCESS [ 1.804 s]
[INFO] GeoServer OAuth2 Connect Security Module - GitHub Token Service SUCCESS [ 1.671 s]
[INFO] GeoServer OAuth2 Connect Security Module - GeoNode Token Service SUCCESS [ 1.662 s]
[INFO] GeoServer OAuth2 Connect Security Module - OpenId Connect SUCCESS [ 1.611 s]
[INFO] GeoServer Web Application .......................... SUCCESS [ 2.235 s]
[INFO] Community Space .................................... SUCCESS [ 0.055 s]
Boot log (full attached)s:
28 Oct 14:40:20 INFO [org.geoserver] - Loaded service 'WMSInfoImpl--fa12d45:1757082c9e2:-8000', enabled
28 Oct 14:40:20 INFO [org.geoserver] - Loaded service 'WFSInfoImpl--fa12d45:1757082c9e2:-7fff', enabled
28 Oct 14:40:20 INFO [org.geoserver] - Loaded service 'WMTSInfoImpl--fa12d45:1757082c9e2:-7ffe', enabled
28 Oct 14:40:20 INFO [org.geoserver] - Loaded service 'WCSInfoImpl--fa12d45:1757082c9e2:-7ffd', enabled
28 Oct 14:40:21 INFO [config.GeoserverXMLResourceProvider] - Will look for 'geowebcache.xml' in directory 'C:\TFS\eclipse\geoserver\src\web\app\src\main\webapp\data\gwc'.
28 Oct 14:40:21 INFO [config.GeoserverXMLResourceProvider] - Found configuration file in gwc
28 Oct 14:40:21 INFO [config.GeoserverXMLResourceProvider] - Found configuration file in gwc
28 Oct 14:40:21 INFO [config.GeoserverXMLResourceProvider] - Found configuration file in gwc
28 Oct 14:40:21 WARN [config.XMLConfiguration] - ********************************************************************************
28 Oct 14:40:21 WARN [config.XMLConfiguration] - *** GWC configuration validation error: cvc-elt.1.a: Cannot find the declaration of element 'gwcConfiguration'.
28 Oct 14:40:21 WARN [config.XMLConfiguration] - *** Will try to use configuration anyway. Please check the order of declared elements against the schema.
28 Oct 14:40:21 WARN [config.XMLConfiguration] - ********************************************************************************
28 Oct 14:40:21 INFO [gwc.layer] - Initializing GWC configuration based on GeoServer's Catalog
28 Oct 14:40:21 INFO [gwc.layer] - GeoServer TileLayer store base directory is: gwc-layers
28 Oct 14:40:21 INFO [gwc.layer] - Loading tile layers from gwc-layers
28 Oct 14:40:21 INFO [gwc.layer] - Loaded 0 tile layers in 1.948 ms
28 Oct 14:40:21 INFO [gwc.config] - Initializing GeoServer specific GWC configuration from gwc-gs.xml
28 Oct 14:40:21 INFO [geoserver.config] - Initiated CatalogTimeStampUpdater
28 Oct 14:40:22 INFO [config.GeoserverXMLResourceProvider] - Will look for 'geowebcache-diskquota.xml' in directory 'C:\TFS\eclipse\geoserver\src\web\app\src\main\webapp\data\gwc'.
28 Oct 14:40:22 INFO [config.GeoserverXMLResourceProvider] - Will look for 'geowebcache-diskquota-jdbc.xml' in directory 'C:\TFS\eclipse\geoserver\src\web\app\src\main\webapp\data\gwc'.
28 Oct 14:40:32 WARN [gce.imagemosaic] - Unable to set ordering between tiff readers spi
28 Oct 14:40:48 WARN [geoserver.security] - security/masterpw.info is a security risk. Please read this file and remove it afterward
28 Oct 14:40:49 INFO [geoserver.security] - Start reloading user/groups for service named default
28 Oct 14:40:49 INFO [geoserver.security] - Reloading user/groups successful for service named default
28 Oct 14:40:50 INFO [geoserver.security] - AuthenticationCache Initialized with 1000 Max Entries, 300 seconds idle time, 600 seconds time to live and 3 concurrency level
28 Oct 14:40:50 INFO [geoserver.security] - AuthenticationCache Eviction Task created to run every 600 seconds
Oct 28, 2020 2:40:50 PM org.geoserver.web.Start main
SEVERE: GeoServer startup complete in 39.12s
28 Oct 14:41:02 INFO [geoserver.security] - Strong cryptography is available
|