I think that you will need to write some javascript code in order to
open authentication page on a popup screen and after authentication close
the popup and refresh the caller url using window.opener.refresh() function.

http://www.mail-archive.com/[email protected]/msg03770.html

Tarik


2007/12/7, Scott Battaglia <[EMAIL PROTECTED]>:
>
> 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 < [EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] 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 < [EMAIL PROTECTED]>:
> > >
> > >
> > >
> > >
> > > 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
> > > [email protected]
> > > http://tp.its.yale.edu/mailman/listinfo/cas
> > >
> > >
> > _______________________________________________
> > 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
> >
> >
>
>
>
> --
> -Scott Battaglia
>
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
> _______________________________________________
> 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