Skip to content

Conversation

@pmauduit
Copy link
Contributor

This is a backport from a work done on Sextant. This introduces a docker-composition to document how GeoNetwork can be integrated to a CAS + a LDAP directory, and make testing of such a configuration easier.

The docker composition integrates a cas in version 6.22, as well as an OpenLDAP containing 2 users (admin & user), both having the password set to the username.

Once compiled, it is possible to docker-compose up, then visit:
http://localhost:8080/geonetwork/srv/eng/casRedirect

to be able to connect via CAS.

This is a backport from a work done on Sextant. This introduces a
docker-composition to document how GeoNetwork can be integrated to a CAS
+ a LDAP directory, and make testing of such a configuration easier.

The docker composition integrates a cas in version 6.22, as well as an
OpenLDAP containing 2 users (admin & user), both having the password set
to the username.

Once compiled, it is possible to docker-compose up, then visit:
http://localhost:8080/geonetwork/srv/eng/casRedirect

to be able to connect via CAS.
@pmauduit pmauduit requested a review from fxprunayre December 18, 2020 09:36
@fxprunayre fxprunayre added this to the 4.0.2 milestone Dec 18, 2020
@fxprunayre fxprunayre changed the title cas - fixing GN cas authentication Security / CAS / Update config to Spring Security version used in 4.x Dec 18, 2020
Copy link
Member

@fxprunayre fxprunayre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with Ifremer CAS and MarineID.

Thanks Pierre for the docker setup so it is easier to work with.

@fxprunayre fxprunayre merged commit 98ece90 into 4.0.x Dec 21, 2020
@pmauduit pmauduit deleted the cas-fixups branch December 21, 2020 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants