CAS validate without login

Does anyone know if there is a CAS method that allows you to check for a current session without automatically going through the login process if it does not exist?

I'm trying to put together an auth agent for an external app, and wanted to use CAS to enable SSO, but I don't want to use the Luminis login page because we can't have that dependancy.  If there is no current session, I just want to konw that so I can move on to check the next auth source.  If there is a session, I'll need to pull the username out.

The perfect case is that there is a method I can call (with a service name) that will either respond with a ticket, or with some error message syaing no current session. 

If nothing exists, I'll have to roll my own servlet I suppose....

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

re: CAS validate without login

What you need is the CAS "gateway" feature.  I think this could be a good starting point for you: http://www.ja-sig.org/wiki/display/CASC/CAS+Java+Client+Gateway+Example

Adam

Syndicate content