Closed (fixed)
Project:
CAS
Version:
8.x-1.x-dev
Component:
CAS Server
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2018 at 11:59 UTC
Updated:
15 Oct 2018 at 00:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ieguskiza commentedI added a small patch with a possible implementation of the proposed feature.
Comment #4
ieguskiza commentedFixed the failing test.
Comment #5
bkosborneThe reason it was hardcoded is because I didn't want people to configure the module in an insecure way, but I agree that it could be useful for local testing. For that reason I think we need to display a warning message for this field that indicates that HTTP should NOT be used in production environment. The reasons are two fold:
1. Doing so implies that the CAS server doesn't have a TLS certificate, so users would be entering their credentials over HTTP which is not safe
2. This module sends an HTTP POST request to the CAS server to validate the authentication token. If that's not over HTTPS it could be intercepted.
Comment #6
ieguskiza commentedThat's a good point. Would it be enough to add a warning in the description of the field? I added a patch with it, but let me know if you where thinking of something else.
Comment #7
bkosborneFound a couple issues that I fixed (see interdiff). If tests pass I will commit.
Comment #9
bkosborne