Just an idea:

boolean isCAS = (request.getUserPrincipal()) instanceof 
(CasAuthenticationToken);

I noticed the above when trying to get some data (like Roles) after 
authentication.  I am not sure if the above ONLY happens when you use Spring 
Security as the way to access CAS, or always.

b.

________________________________
From: Chris Hatton [mailto:[email protected]]
Sent: Wednesday, February 25, 2009 12:58 PM
To: [email protected]
Subject: Re: [cas-user] Simple support for a gradual migration to CAS


--

You are currently subscribed to [email protected] as: 
[email protected]

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to