About Customizing view [casGenericSuccess .jsp] by cas3.0
Scott Battaglia
scott_battaglia at rutgers.edu
Mon Jun 12 10:10:40 EDT 2006
If you just want the username that the user provided, you can retrieve
it from the request parameters.
Using the EL language in JSP, you can do something like:
${*param*.username}
If you've resolved that username to a principal of a different name,
you'll have to use the service ticket to obtain the Authentication
object which contains the principal.
-Scott
johnhzjx wrote:
> Hello,
> i'm newer for CAS.
> when i use CAS3.0,I deploy some Appliaction on the CAS, and now the
> customer need a login page like this:
> After customer land, judge the customer to own first which systems of
> legal power,
> then display the chain that corresponds the system for customer to
> connect,
> but others do not display
> so i first customizing view casLoginView.jsp like a portal login page,
> then when user login success redirect to [casGenericSuccess.jsp](a
> user attempts to login without coming directly from a service), i just
> want to customizing casGenericSuccess.jsp use a CheckUserLegalPower
> javabean. this bean just check UserLegalPower by user login id..but
> now i dont't know how can i get user login ID in casGenericSuccess.jsp?
> ps:My English level is very bad, if have where have the mistake,
> please forgive.Thanks
> cloud
>
>
>
>
>
>
>
> Äã ²» Ïë ÊÔ ÊÔ ½ñ ÏÄ ×î ¡°¿á¡± µÄÓÊ Ïä Â𠣿
> ÔÌ º ÖÐ »ª ´« ͳ ÎÄ»¯ ÓÚ ÊÀ ½ç Ò» Á÷ ¿Æ ¼¼ Ö® ÖУ¬´´ РAjax ¼¼ Êõ£¬
> 126 ¡°D ¼Æ »®¡±»ð ÈÈ Ìå Ñé ÖÐ £¡ <http://www.126.com/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
More information about the cas
mailing list