Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Expert GeoServer

You're reading from   Expert GeoServer Build and secure advanced interfaces and interactive maps

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781789538601
Length 134 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ben Mearns Ben Mearns
Author Profile Icon Ben Mearns
Ben Mearns
Arrow right icon
View More author details
Toc

Secure login from OL

In the previous section, you learned about the GeoServer settings for authentication, such as authentication based on users, groups, roles, filters, and chains. In this section, you'll learn how to securely log in to a configured GeoServer instance with an OpenLayers-based web app. First, you'll learn how to test authentication with the command-line utility curl. Next, we'll make some minor modifications to some OL code that was previously used to make non-HTTPS GeoServer WFST requests. Finally, we'll test the concepts you learned about in this section.

Make sure Apache HTTPD and Tomcat are started, if they haven't already been started. If GeoServer is not available at the Tomcat address localhost:8080/geoserver, then check permissions and run again. Now, we will test our secure login with curl:

curl -v --cacert C:\Apache24\conf\ssl...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image