Rakesh,

Have you seen 
https://wiki.jasig.org/display/CASC/CAS+Proxying+with+Classic+ASP. It addresses 
proxying with classic ASP, but the CAS_Authenticator class works for 
non-proxying as well.

In my project, I found the code where the authentication logic existed and 
dropped this into that area of our code:
'CAS AUTH---------------------------------------------------
'Ideally SunGard HE will add a SECURITY_MODEL of "CAS" and let us
'specify the ServiceURL there. Then set the authType to CAS
'and hide the username and password if it was such...

Dim objCAS, serviceUrl

'Initialize CAS Authenticator Class
Set objCAS = New CAS_Authenticator 

'Set the CAS URL
objCAS.CASURL = "https://cas.example.org/cas";

'Set the current request page Url as the CAS service name
serviceUrl = GetRequestUrl()

if Session("CAS_Netid") = "" Then 
        if objCAS.ServiceValidate(serviceUrl) = true then 
                Session("CAS_Netid") = objCAS.netid
        else
                Session("CAS_Netid") = ""
        end if
end if

'response.write objCAS.netid & ":" & Session("CAS_Netid")
Set objCAS = Nothing

'If we have a session("CAS_Netid"), then our user has been authenticated,
'CAS AUTH End---------------------------------------------------

Then just setup the session as required by the application.
-----Original Message-----
From: Rakesh [mailto:[email protected]] 
Sent: Wednesday, November 6, 2013 1:20 PM
To: [email protected]
Subject: [cas-user] ASP CAS client

Hi All,

  I am currently trying to CASify an classic ASP client with our CAS 
environment(3.5.2) and I am looking for a good example to get me started. Can 
you give me some pointers on how to configure application built on classic ASP. 
A sample configuration would be really helpful. 

- Rakesh
--
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