CAS Webservices

Scott Battaglia scott.battaglia at gmail.com
Fri Mar 23 07:38:06 EDT 2007


Barrow,

The easiest way is to create a SOAP web service endpoint (I recommend xFire
as its easily integrated with Spring).  Your endpoint would accept that SOAP
message and you would delegate authentication to the already configured
"centralAuthenticationService" bean.  This "centralAuthenticationService"
bean creates, deletes and validates tickets.  Every CAS deployment already
has one configured.  You would then configure CAS as you normally would by
editing the deployerConfigContext.xml to use your AuthenticationHandler.

-Scott

On 3/23/07, Barrow Kwan <bhkwan at thoughtworks.com> wrote:
>
> This topic has been asked a few times but I still can't find a good
> document.
>
> ( I think Scott Battaglia mention an example in CVS but I could not find
> it.. that folder is empty )
>
> I have an application that will pass me this SOAP Message
> <?xml version="1.0" encoding="UTF-8" ?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>   <soapenv:Body>
>     <Authenticate xmlns="urn:authentication.soap.test.com">
>       <username>demo at test.com</username>
>       <password>demo</password>
>     </Authenticate>
>   </soapenv:Body>
> </soapenv:Envelope>
>
> How can I make CAS take this SOAP message and authenticate this
> user?  I just need to know how to do it in the high level, like what
> I need to implement in CAS, what .xml file need to be
> modified.etc..   If someone has sample app, that will be helpful too.
>
> thanks
>
>
>
> Barrow Kwan
> ThoughtWorks Inc
> 410 Townsend St, 4th Floor
> San Francisco, CA 94107
> USA
> (415)869-3103
>
>
>
>
> _______________________________________________
> 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/20070323/54728dbb/attachment.html 


More information about the cas mailing list