Using CAS with stand alone application
Scott Battaglia
scott.battaglia at gmail.com
Mon Oct 16 23:30:05 EDT 2006
Spring has an abstraction for remoting services via various protocols such
as SOAP or JAX-RPC. I recommend configuring that (probably using xFire,
who's site has a guide for doing it). The advantage is that you aren't
dependent on screen-scraping.
http://xfire.codehaus.org/Spring
-Scott
On 10/11/06, Harry Ng <harryworld at gmail.com> wrote:
>
> Dear Scott,
>
> Actually, I'm not quite clear about your approach, for example what is
> Spring Remoting protocol. Since I'm new to the Spring framework,
> making changes to it may be a trouble to me in short term.
>
> Instead, I'm thinking whether I can make good use of the current CAS
> implementation. For example, from my standalone application written in
> VB, trigger some HTTP requests to the current link
> https://localhost:8443/cas/login
>
> providing parameters like username and password, and then get some
> responses saying login success or not.
>
> Please comment.
>
> Thanks,
> Harry
>
>
> --------------------------------------------------
> You can expose the CAS interfaces via any Spring Remoting protocol (or
> xFire). The easiest way is to create an interface/implementation similar
> to
> CentralAuthenticationService that replaces "Credentials" with the concrete
> Credentials class you wish to use and then delegate to a
> concrete-configured
> instance of CentralAuthenticationServiceImpl and then expose the interface
> you create via one of the protocols that you support. This does not allow
> you to truly do single sign on though unless your applications can somehow
> share the TGT.
>
> -Scott
>
> On 10/4/06, Harry Ng <harryworld at gmail.com> wrote:
> > Hi All,
> >
> > I'm thinking about the possibility to connect standalone applications
> > to CAS for authentication. As what I understand, all applications
> > being CASified are web applications. The CAS Clients available are
> > mainly languages or applications that are for web use. However, my
> > company does have many applications already developed using VB and C#,
> > it is almost impossible to rewrite them all. Is anyone have an idea to
> > connect them to CAS?
> >
> > Thanks for your comment.
> >
> > Harry
> >
> > --
> > My Weblog - http://wpmu.planner4u.org/
> >
>
>
> --
> My Weblog - http://wpmu.planner4u.org/
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20061016/3eacb52f/attachment.html
More information about the cas
mailing list