Principal object
Richard Gundersen
richardgundersen at hotmail.com
Tue Apr 29 16:19:38 EDT 2008
If anyone could help me on these points I'd be really grateful. Also on my earlier email about Exceptions.
Been struggling through this for three days now with little to show for it. I am very new to CAS, ACEGI, Maven etc so even if you think you are pointing out the obvious, please do.
Any help very gratefully appreciated.
Regards
Richard
From: richardgundersen at hotmail.com
To: cas at tp.its.yale.edu
Subject: Principal object
Date: Tue, 29 Apr 2008 17:26:32 +0100
Hi, I also have a couple of questions :)
1) Please could someone tell me how to get hold of the principal object?
I've written my own CredentialsToPrincipal resolver, and my own Principal object, and I log in successfully.
I can't quite figure out where the principal is stored though. I'm using the YaleFilter, but I can't see anything to do with the principal in the source, or in the CAS server source either.
2) Should something be in this session attribute as per the docs? (if there should be, the filter doesn't seem to set it):
edu.yale.its.tp.cas.client.filter.receiptMany thanks
Richard
Date: Tue, 29 Apr 2008 08:27:28 -0400
From: scott.battaglia at gmail.com
To: cas at tp.its.yale.edu
Subject: Re: does CAS support non-ascii netId?
Li,
CAS should support whatever you pass along. I would check if the application server / JVM are both configured to support the characters.
-Scott
On Tue, Apr 29, 2008 at 3:29 AM, Li Wei Nan <liweinan at chinaedu.net> wrote:
Hi Everyone,
We have some problem when users use Chinese character as their netId.
I think it's a config problem somewhere. Here's our environment:
- cas pages are UTF-8
- data in datasource are UTF-8 encoded
- linux env is: LANG=en_US.UTF-8
- dataSource config: <value>jdbc:postgresql://localhost:5432/edupass</value>
Does anyone has the similar problem and sovled it before?
Thanks,
- Li Wei Nan
_______________________________________________
Yale CAS mailing list
cas at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas
--
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
Messenger's gone Mobile! Get it now!
_________________________________________________________________
Bag extra points with the Walkers Brit Trip Game
http://www.walkersbrittrips.co.uk/game
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080429/5aeaf9c0/attachment.html
More information about the cas
mailing list