spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

spring-security-cas use in webflux

Open rainbowJson opened this issue 7 years ago • 10 comments

Do you have plans to support spring-security-cas use in webflux?

I have use webflux in netty container

rainbowJson avatar Sep 20 '18 07:09 rainbowJson

Thanks for the report @rainbowJson! We would probably need a reactive CAS client. Does one exist?

rwinch avatar Sep 20 '18 14:09 rwinch

I haven't found support for reactive client CAS for the time being.

I want to support CAS in spring-cloud-gateway.

rainbowJson avatar Sep 20 '18 15:09 rainbowJson

I wouldn't be apposed to doing this, but I think we will need reactive support from the CAS libraries to make this practical.

rwinch avatar Sep 20 '18 18:09 rwinch

@rwinch is there an update on this? I see, there is no open issue or pull request in CAS libraries. Is there a workaround in spring-security?

thirunar avatar Apr 01 '19 10:04 thirunar

I was trying to use spring-security-cas in my webflux application and I prepared a list of missing implementations:

description existing blocking implementation missing reactive implementation
Entry point to commence authentication via the JA-SIG CAS on authentication exception CasAuthenticationEntryPoint that implements AuthenticationEntryPoint class that implements ServerAuthenticationEntryPoint (could be based on RedirectServerAuthenticationEntryPoint)
Filter that processes a CAS service ticket CasAuthenticationFilter class that implements WebFilter

pszemus avatar May 12 '20 07:05 pszemus

Thanks. We still need a reactive CAS client. Is anyone aware of one? If not, could someone create a ticket w/ CAS?

rwinch avatar May 13 '20 19:05 rwinch

We are also need a reactive CAS client

johnwonder avatar Apr 20 '21 08:04 johnwonder

I have use webflux in netty container ,too. Have you solved the problem yet?

ArvinHu avatar Apr 27 '21 07:04 ArvinHu

@ArvinHu I switched to oauth2, as both: CAS and reactive spring-boot-starter-oauth2-client supports it

pszemus avatar Apr 27 '21 07:04 pszemus

I have implemented a simple webflux client based on jasig's cas-client.jar, which is already online in the project. You can try it. ❤️ See spring-webflux-cas-client-starter

wybaby168 avatar Oct 21 '24 06:10 wybaby168