Nginx Jasig CAS Integration

How do we use CAS login screen to authenticate Nginx.

We have deployed front end using EXT JS in Nginx server and Nginx server
using reverse proxy to get the data from JBOSS server (spring MVC rest

We have deployed Jasig CAS application in tomcat server and configured
JBOSS server for the CAS Authentication. So far so Good.

Since user is entering the data in EXT JS forms so we are supposed to
SSL at nginx server level. Also, when user is not logged in, we have to
redirect users to the CAS login screen.How do we do that ?

One way is to check for the cookie in nginx for authentication and
to cas login screen if cookie is not available. Is it the right way of
this ?

Do have any user guide for nginx and CAS integration ?

Posted at Nginx Forum:,244200,244200#msg-244200

I have the same problem, some information about how to configure SSO

Posted at Nginx Forum:,244200,254269#msg-254269