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
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>   
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to