Hi Yogesh,

 

I am not much familiar with proxying but my understanding is that in proxying , 
after authenticating a user first time , application gets a PGT which can be 
used for authentication without contacting CAS.

But this still leaves me with authenticating user the first time.

 

The functionality I want to implement is :

1)      User authenticates for hitting the target REST API’s using basic auth 
(username and password specified in authentication header).

2)      The authentication provider at target REST API end uses a provider 
which uses CAS’s REST API to validate username/password , get a TGT, use TGT to 
get a ST and validate ST (This needs to happen for each authentication request 
as the target services are REST based).

 

Please share your thoughts for the same.

 

Regards

Puneet Goyal

 

From: Yogesh Ranganath [mailto:[email protected]] 
Sent: Monday, February 10, 2014 8:22 PM
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: [cas-user] Authenticating REST web services using CAS's REST API's

 

I'm not familiar with JAAS. As i understand you want to authenticate a target 
application using CAS.

You could do it using the CAS Proxy as detailed out here 
https://wiki.jasig.org/display/CAS/Proxy+CAS+Walkthrough Incidentally I used 
the same steps to authenticate using CAS Proxy for my application recently and 
have documented them. 

I'm also attaching images extracted from PDF mentioned the Walkthough, the pdf 
doesn't open correctly in new Adobe PDF version.

Hope it helps you, best of luck.

On Monday, February 10, 2014 4:22:00 PM UTC+5:30, Puneet Goyal wrote:

Hi , 

 

I was going through the restlet configuration of CAS, and I am trying to find a 
way wherein a user can authenticate himself for target applications REST 
services using the CAS’s REST services.

I also went through the JAAS configuration, but I’m not sure how I can 
configure target REST API’s to authenticate using CAS’s REST API’s and JAAS.

Am I in right direction looking for JAAS support to use CAS’s REST API’s 

 

Regards

Puneet Goyal

-- 
You are currently subscribed to [email protected] <javascript:>  as: 
[email protected] <javascript:> 
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user
-- 
You are currently subscribed to [email protected] as: [email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to