[cas-dev] Specifying request parameter with loginUrl (for customizing view)

Jennifer Yang jyoonyang at gmail.com
Thu Oct 5 18:32:15 EDT 2006


K.  Looking through the source code, I found that gateway attribute is
specified via init parameter.

So, I guess the question is then, is there any way to specify additional
request parameter without extending the source code?

Thanks,
Jennifer

On 10/5/06, Jennifer Yang <jyoonyang at gmail.com> wrote:
>
> Hi
>
> We have requirements to allow custom views for different CASified apps.  I
> thought we can pass in a request parameter that can be used on the
> serverside to dynamically include different jsps.
>
> If the above sounds ok, how can I pass a request parameter?  If I add the
> request parameter to the loginUrl below, I see CAS Filter concatenates other
> request parameters with "?"
>
>     <init-param>
>       <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
>       <param-value>https://localhost:443/cas/login?foo=true </param-value>
>     </init-param>
>
> results in:
> https://caboubun/cas/login?foo=true?service=http%3A%2F%2Flocalhost%3A8080%2Fcas-ex1%2Fservlet%2FHelloWorldExample
>
>
> In the documentation that talks about gateway, it says to "set the request
> parameter "gateway" to be "true" on the CAS login request"  How do you
> specify this?  I should be able to use the same mechanism to add my own
> request parameters, right?
>
> Thanks,
> Jennifer
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20061005/e2e1d077/attachment.html


More information about the cas-dev mailing list