I would like to enable a Login form for Geoserver. This would means that, when a client makes a request using Leaflet or OL3, with an index file etc. The client would be prompted to log in before the layer would load. Any Advice, I have consulted the security of Geoserver but its like i don't understand a thing. Geoserver 2.10
You need to enable authentication on your GeoServer, how you do this depends on how you manage your users and passwords. Once you've done this then the browser will handle logins for you automatically.