AW: Java CAS: Authenticate

Scott Battaglia scott_battaglia at rutgers.edu
Wed Aug 16 22:43:58 EDT 2006


Bernhard,

If you wanted to authenticate from another java program, you would need 
to have CAS export its CentralAuthenticationService interface as a web 
service and access it that way.

Exporting the interface involves writing a wrapper interface that 
accepts a concrete Credentials implementation (i.e. 
createTicketGrantingTicket(UsernamePasswordCredentials) vs. 
createTicketGrantingTicket(Credentials)) and delegate to the configured 
instance of centralAuthenticationService.

We generally use xFire to expose the web service (it integrates nicely 
with Spring).

-Scott

Scott Battaglia
Application Developer, Architecture & Engineering Team
Enterprise Systems and Services, Rutgers University
v: 732.445.0097 | f: 732.445.5493 | scott_battaglia at rutgers.edu 



Bernhard Mähr wrote:
> Hello,
>
> I'm talking about the section
> http://www.ja-sig.org/products/cas/overview/protocol/index.html /login as credential acceptor
>
> It seems not to be possible to get username and password in a java program from somewhere (e.g. applet, swing-interface, config-file,...) and doing an authentication with this credentials.
>
> Greetings
>
> Bernhard Mähr
>
>
> -----Ursprüngliche Nachricht-----
> Von: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] Im Auftrag von Scott Battaglia
> Gesendet: Freitag, 11. August 2006 15:08
> An: Yale CAS mailing list
> Betreff: Re: Java CAS: Authenticate
>
>
> I'm not sure what you mean by this?  Can you elaborate?
>
> -Scott
>
> Scott Battaglia
> Application Developer, Architecture & Engineering Team Enterprise Systems and Services, Rutgers University
> v: 732.445.0097 | f: 732.445.5493 | scott_battaglia at rutgers.edu 
>
>
>
> Bernhard Mähr wrote:
>   
>> Hello,
>>
>>
>> Is there a reason why the java-client doesn't implement classes for 
>> the login? Or have I missed something?
>>
>>
>>
>> Greetings,
>>
>> Bernhard Mähr
>> --
>> Accelsis Technologies GmbH
>> www.accelsis.biz
>>
>> Aidenbachstr. 52
>> D - 81379 München
>>
>> Tel. +49 89 / 54 80 38-72
>> Fax. +49 89 / 54 80 38-99
>>
>> Bernhard.Maehr at Accelsis.biz
>> The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing accelsis technologies client engagement letter. 
>>
>>
>> _______________________________________________
>> 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
>   


More information about the cas mailing list