dinamic ServiceURL ?
Scott Battaglia
scott.battaglia at gmail.com
Fri Dec 7 07:44:49 EST 2007
Specifying the serverName instead of the serviceUrl will allow for the
generation of dynamic service URLs.
-Scott
On Dec 7, 2007 6:50 AM, Merouane AMRAOUI <mamraoui at sqli.com> wrote:
> Good but how can i do that ???
>
> I use the java client cas as filter :
>
> <filter> <filter-name>CAS Filter</filter-name>
> <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
> <init-param>
> <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
> <param-value>https://secure.its.yale.edu/cas/login</param-value>
> </init-param> <init-param>
> <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
> <param-value>https://secure.its.yale.edu/cas/serviceValidate</param-value>
> </init-param> <init-param>
> <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
> <param-value>your server name and port (e.g.,
> www.yale.edu:8080)</param-value> </init-param> </filter>
>
>
> So I must specify in web.xml in the cas filter a static serviceURL. So how
> can I do the dynamic serviceURL with java client cas. ???
>
>
> Thx in advance
>
>
> -----Message d'origine-----
> De: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] De la
> part de Marat Radchenko
> Envoyé: vendredi 7 décembre 2007 11:03
> À: Yale CAS mailing list
> Objet: Re: dinamic ServiceURL ?
>
> Of course it is possible.
> Nothing prevents you from doing that even in default cas configuration.
>
> 2007/12/7, Merouane AMRAOUI <mamraoui at sqli.com>:
> >
> >
> >
> >
> > Hi,
> >
> > It's possible to make serviceURL as dinamic information not static ?
> >
> > I want to take as serviceURL the incoming request, i.e :
> >
> >
> >
> > If I call http://domain/site/servletX
> > Cas redirect me to the connection page
> > After authentification I want cas to redirect me to the caller i.e to
> > http://domain/site/servletX and not to redirect to me to a static url
> > defined as serviceURL in propertie file or other file config.
> >
> >
> >
> > So I call another url http://domain/site/servletY after authetification
> cas
> > redirect me to http://domain/site/servletY
> >
> >
> >
> >
> >
> > It's possible to do that with cas ???
> >
> >
> >
> >
> >
> > Thx in advance
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20071207/6d84dfc3/attachment.html
More information about the cas
mailing list