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

Scott Battaglia scott.battaglia at gmail.com
Thu Oct 5 23:06:53 EDT 2006


I'm not intimitely familiar with the source for the Yale CAS Client, but I
am guessing it is not.  You can file a feature request for the Yale CAS
Client here: http://tp.its.yale.edu/jira/browse/JCC

If this is something you would find useful, I would also say file a JIRA
issue in the JA-SIG JIRA instance (http://www.ja-sig.org/issues) for the
JA-SIG CAS Client for Java 3.0 release.

-Scott

On 10/5/06, Jennifer Yang <jyoonyang at gmail.com> wrote:
>
> 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
> >
> >
> >
>
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20061005/ac29db82/attachment.html


More information about the cas-dev mailing list