If you've enabled the Wrapper, you can simply call request.getRemoteUser.
Otherwise, the complete Assertion is stored in the session as request.getSession().getAttribute(CONST_ASSERTION). The assertion holds the principal. (there's a third way using ThreadLocal's if you're interested in that too). -Scott On 5/4/07, Matteo Matteo <[EMAIL PROTECTED]> wrote:
So I've installed Java CAS Client 3.0, on CAS 2.1 it was easy to get a userid, it was stored as an attribute in the sessin. How may I get userId in CAS Client 3.0? There's no documentation for version 3.0 at the moment :( _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
-- -Scott Battaglia LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
