Issue 12708

CAS redirects all the requests even for public pages

Reporter: fmendez
Assignee: mdoering
Type: Bug
Summary: CAS redirects all the requests even for public pages
Priority: Major
Resolution: WontFix
Status: Closed
Created: 2013-02-06 10:00:25.853
Updated: 2013-08-29 14:44:41.691
Resolved: 2013-02-06 10:16:52.572
Description: CAS is redirecting all the requests, there's a similar situation described here:
The attached screenshot shows that all the HTTP responses are "302 Moved Temporarily" this can produce unnecessary overhead]]>

Attachment Screen shot 2013-02-06 at 9.56.10 AM.png

Created: 2013-02-06 10:16:40.789
Updated: 2013-02-06 10:16:40.789
Yes, this is on purpose and this is what calls CAS gateway:
If someone is not logged in yet, on every request CAS needs to check if he maybe is logged in now. He could have logged into the system in drupal or anywhere else. Also see POR-453

Comment: The only solution we considered very early is not to use CAS but a far simpler cookie based system. This would need a little bit of custom java code, but we can use existing drupal plugins. And those cookies wont work across several domains, so we could only integrate gbif apps. But honestly I dont think this is much of a limitation for us and I would be real _glad_ if we would go this way
Created: 2013-02-06 10:18:53.8
Updated: 2013-02-06 10:18:53.8