Re: [cas-user] Spring Reactive Client Logout Problem

2020-11-03 Thread Ray Bon
Denzig,

I assume you are talking about single logout, where cas server will send a 
logout request to your application.
With a 'normal' cas login session, the service ticket is sent to the 
application in the logout request (POST). It is up to the application to 
associate that ST with a user's session. The java cas-client filter will 
terminate the local user session when it receives the logout request.

I have not used OIDC, and have not looked at the payload. Check to see what cas 
server sends on a logout. You can also set the logout endpoint in the service 
definition (by default it is the one used during log in).

Description of SLO, 
https://apereo.github.io/cas/6.2.x/installation/Logout-Single-Signout.html
Check other protocols, 
https://apereo.github.io/cas/6.2.x/protocol/Protocol-Overview.html

Ray

On Tue, 2020-11-03 at 02:32 -0800, denizg wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hello,

I have reactive spring client and CAS server. I can't integrate them directly, 
because java cas-client library is not reactive, and if i import that 
dependency, my spring project doesn't work. because imported library is 
dependent on MVC/servlet stack and it doesn't work at reactive base.

So, I integrate them not directly, but by OpenID connect. I have configured my 
CAS server as also OAuth server, and it works as expected.

But, I cannot logout from spring client. Because, logout filters and related 
classes are not configured at reactive spring client, and these jobs were done 
by java cas-client library.

So, how can i logout from my reactive spring client? Any idea or any advice? 
Does someone encounter same problem?

Many thanks.

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6f322efa4b3e71d221e35baa4722951d703c81f2.camel%40uvic.ca.


[cas-user] Spring Reactive Client Logout Problem

2020-11-03 Thread denizg
Hello,

I have reactive spring client and CAS server. I can't integrate them 
directly, because java cas-client library is not reactive, and if i import 
that dependency, my spring project doesn't work. because imported library 
is dependent on MVC/servlet stack and it doesn't work at reactive base.

So, I integrate them not directly, but by OpenID connect. I have configured 
my CAS server as also OAuth server, and it works as expected.

But, I cannot logout from spring client. Because, logout filters and 
related classes are not configured at reactive spring client, and these 
jobs were done by java cas-client library.

So, how can i logout from my reactive spring client? Any idea or any 
advice? Does someone encounter same problem?

Many thanks.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/519eecdf-c74b-4a33-ac9c-e3e3de78feb9n%40apereo.org.