RE: [cas-user] logout redirect not use "service" but "TARGET" for .NET application?

2015-10-01 Thread Zhou, Yan
Never mind, I figured it out, we had someone wrote some code to customize that 
behavior.  Thanks, CAS does work as expected.

Yan

From: Misagh Moayyed [mailto:mmoay...@unicon.net]
Sent: Wednesday, September 30, 2015 1:53 AM
To: cas-user@lists.jasig.org
Subject: RE: [cas-user] logout redirect not use "service" but "TARGET" for .NET 
application?

I don't follow. Why or how is the .NET client sending your logout requests?

From: Zhou, Yan [mailto:yan.x.z...@questdiagnostics.com]
Sent: Tuesday, September 29, 2015 7:45 AM
To: cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org>
Subject: [cas-user] logout redirect not use "service" but "TARGET" for .NET 
application?

Hi there,

I am using Jasig CAS 3.x.  As user logout, we want them to go back to the login 
page (not staying in the CAS logout page).  I understand that I need to append 
"service=x" at the end of /cas/logout as a query parameter.  That works 
well for all our Java based client, which by default uses "service" for such 
parameter.

We have an issue with .NET application. It automatically adds "TARGET=x" 
(not "service").  So, CAS server does not know it meant a redirect after 
logout.  Is there any way to configure CAS to accept both "service" and 
"TARGET" for serviceParameterName?

Thanks,

Yan Zhou | Quest Diagnostics Incorporated | Lead Engineer, Healthcare IT 
Solutions | 4690 Parkway Drive | Mason, OH 45040 USA | phone +1 513-204-2613 | 
fax +1 513-229-5505 |  
yan.x.z...@questdiagnostics.com<mailto:yan.x.z...@questdiagnostics.com> | 
www.questdiagnostics.com<http://www.questdiagnostics.com>


__
The contents of this message, together with any attachments, are intended only 
for the use of the person(s) to which they are addressed and may contain 
confidential and/or privileged information. Further, any medical information 
herein is confidential and protected by law. It is unlawful for unauthorized 
persons to use, review, copy, disclose, or disseminate confidential medical 
information. If you are not the intended recipient, immediately advise the 
sender and delete this message and any attachments. Any distribution, or 
copying of this message, or any attachment, is prohibited.



--

You are currently subscribed to 
cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: 
mmoay...@unicon.net<mailto:mmoay...@unicon.net>

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



--

You are currently subscribed to 
cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: 
yan.x.z...@questdiagnostics.com<mailto:yan.x.z...@questdiagnostics.com>

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

__
The contents of this message, together with any attachments, are intended only 
for the use of the person(s) to which they are addressed and may contain 
confidential and/or privileged information. Further, any medical information 
herein is confidential and protected by law. It is unlawful for unauthorized 
persons to use, review, copy, disclose, or disseminate confidential medical 
information. If you are not the intended recipient, immediately advise the 
sender and delete this message and any attachments. Any distribution, or 
copying of this message, or any attachment, is prohibited.

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


RE: [cas-user] logout redirect not use "service" but "TARGET" for .NET application?

2015-09-29 Thread Misagh Moayyed
I don't follow. Why or how is the .NET client sending your logout
requests? 

 

From: Zhou, Yan [mailto:yan.x.z...@questdiagnostics.com] 
Sent: Tuesday, September 29, 2015 7:45 AM
To: cas-user@lists.jasig.org
Subject: [cas-user] logout redirect not use "service" but "TARGET" for
.NET application?

 

Hi there,

 

I am using Jasig CAS 3.x.  As user logout, we want them to go back to the
login page (not staying in the CAS logout page).  I understand that I need
to append "service=x" at the end of /cas/logout as a query parameter.
That works well for all our Java based client, which by default uses
"service" for such parameter.

 

We have an issue with .NET application. It automatically adds
"TARGET=x" (not "service").  So, CAS server does not know it meant a
redirect after logout.  Is there any way to configure CAS to accept both
"service" and "TARGET" for serviceParameterName?

 

Thanks,

 

Yan Zhou | Quest Diagnostics Incorporated | Lead Engineer, Healthcare IT
Solutions | 4690 Parkway Drive | Mason, OH 45040 USA | phone +1
513-204-2613 | fax +1 513-229-5505 |  yan.x.z...@questdiagnostics.com
  | www.questdiagnostics.com
 

 


__
The contents of this message, together with any attachments, are intended
only for the use of the person(s) to which they are addressed and may
contain confidential and/or privileged information. Further, any medical
information herein is confidential and protected by law. It is unlawful
for unauthorized persons to use, review, copy, disclose, or disseminate
confidential medical information. If you are not the intended recipient,
immediately advise the sender and delete this message and any attachments.
Any distribution, or copying of this message, or any attachment, is
prohibited.

 
-- 
You are currently subscribed to cas-user@lists.jasig.org
  as: mmoay...@unicon.net
 
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


Re: [cas-user] logout redirect

2014-05-23 Thread David Kane
Hi

Thanks for your replies.  I tried both options, but as the logout parameter
on the application (Luminis) uses url rather than service, it doesn't work.
 It looks like I will have to amend the casLogoutView.jsp, which is what
Ellucian have done with the bundled version of CAS.

Regards
David



On 19 May 2014 16:52, Michael Wechner michael.wech...@wyona.com wrote:

  I am not sure about other possibilites, but it works for me when changing

 webapps/cas-server-webapp-3.5.2/WEB-INF/cas-servlet.xml

 by setting the attribute followServiceRedirects to true

 HTH

 Michael

 Am 19.05.14 17:48, schrieb Misagh Moayyed:

 and leave cas-servlet.xml untouched or is it telling me I need to modify
 cas-servlet.xml and not cas.properties?



 Leave cas-servlet.xml alone, and only change cas.properties.



 From: David Kane [mailto:david.a.k...@ucd.ie david.a.k...@ucd.ie]
 Sent: Monday, May 19, 2014 8:45 AM
 To: cas-user@lists.jasig.org
 Subject: [cas-user] logout redirect



 Hi



 I am trying to set up logout redirect in CAS 3.5.2, I see that I can change
 the following line in cas-servlet.xml:



 p:followServiceRedirects=${cas.logout.followServiceRedirects:false}/



 to



 p:followServiceRedirects=true/




 However, there is a section in the cas.properties file as follows:



 ##

 # CAS Logout Behavior

 # WEB-INF/cas-servlet.xml

 #

 # Specify whether CAS should redirect to the specifyed service parameter on
 /logout requests

 # cas.logout.followServiceRedirects=false



 does this mean I can change this to



 ##

 # CAS Logout Behavior

 # WEB-INF/cas-servlet.xml

 #

 # Specify whether CAS should redirect to the specifyed service parameter on
 /logout requests

 cas.logout.followServiceRedirects=true



 and leave cas-servlet.xml untouched or is it telling me I need to modify
 cas-servlet.xml and not cas.properties?



 I would prefer to do this in cas.properties if possible, in order to reduce
 the number of files I have to modify.



 Thanks

 David




 --
 You are currently subscribed to cas-user@lists.jasig.org as: 
 david.a.k...@ucd.ie
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/cas-user



-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

RE: [cas-user] logout redirect

2014-05-19 Thread Misagh Moayyed
and leave cas-servlet.xml untouched or is it telling me I need to modify 
cas-servlet.xml and not cas.properties?



Leave cas-servlet.xml alone, and only change cas.properties.



From: David Kane [mailto:david.a.k...@ucd.ie]
Sent: Monday, May 19, 2014 8:45 AM
To: cas-user@lists.jasig.org
Subject: [cas-user] logout redirect



Hi



I am trying to set up logout redirect in CAS 3.5.2, I see that I can change 
the following line in cas-servlet.xml:



p:followServiceRedirects=${cas.logout.followServiceRedirects:false}/



to



p:followServiceRedirects=true/




However, there is a section in the cas.properties file as follows:



##

# CAS Logout Behavior

# WEB-INF/cas-servlet.xml

#

# Specify whether CAS should redirect to the specifyed service parameter on 
/logout requests

# cas.logout.followServiceRedirects=false



does this mean I can change this to



##

# CAS Logout Behavior

# WEB-INF/cas-servlet.xml

#

# Specify whether CAS should redirect to the specifyed service parameter on 
/logout requests

cas.logout.followServiceRedirects=true



and leave cas-servlet.xml untouched or is it telling me I need to modify 
cas-servlet.xml and not cas.properties?



I would prefer to do this in cas.properties if possible, in order to reduce 
the number of files I have to modify.



Thanks

David


-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
mmoay...@unicon.net
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Re: [cas-user] logout redirect

2014-05-19 Thread Michael Wechner
I am not sure about other possibilites, but it works for me when changing

|webapps/cas-server-webapp-3.5.2/WEB-INF/cas-servlet.xml

by setting |the attribute |followServiceRedirects| to |true|

HTH

Michael

Am 19.05.14 17:48, schrieb Misagh Moayyed:
 and leave cas-servlet.xml untouched or is it telling me I need to modify 
 cas-servlet.xml and not cas.properties?



 Leave cas-servlet.xml alone, and only change cas.properties.



 From: David Kane [mailto:david.a.k...@ucd.ie]
 Sent: Monday, May 19, 2014 8:45 AM
 To: cas-user@lists.jasig.org
 Subject: [cas-user] logout redirect



 Hi



 I am trying to set up logout redirect in CAS 3.5.2, I see that I can change 
 the following line in cas-servlet.xml:



 p:followServiceRedirects=${cas.logout.followServiceRedirects:false}/



 to



 p:followServiceRedirects=true/




 However, there is a section in the cas.properties file as follows:



 ##

 # CAS Logout Behavior

 # WEB-INF/cas-servlet.xml

 #

 # Specify whether CAS should redirect to the specifyed service parameter on 
 /logout requests

 # cas.logout.followServiceRedirects=false



 does this mean I can change this to



 ##

 # CAS Logout Behavior

 # WEB-INF/cas-servlet.xml

 #

 # Specify whether CAS should redirect to the specifyed service parameter on 
 /logout requests

 cas.logout.followServiceRedirects=true



 and leave cas-servlet.xml untouched or is it telling me I need to modify 
 cas-servlet.xml and not cas.properties?



 I would prefer to do this in cas.properties if possible, in order to reduce 
 the number of files I have to modify.



 Thanks

 David




-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user