Ankit,

A lot has changed since the  dark ages of cas 3.x
Perhaps what you needed in 3.x is no longer required, or perhaps has been 
implemented.
If you need to create a custom authentication handler, see 
https://apereo.github.io/cas/7.1.x/authentication/Configuring-Custom-Authentication.html
For additional resources see https://fawnoos.com/blog/

I do not understand why you need to exclude those cas endpoints from security.

See cas swagger integration, 
https://apereo.github.io/cas/7.1.x/integration/Swagger-Integration.html

Ray

On Mon, 2025-01-20 at 09:53 -0800, 'Ankit Kumar' via CAS Community wrote:
I was able to add bean in CasOverlayOverrideConfiguration of Cas overlay 
project and i am able to see in 
localhost:8443/cas/swagger-ui/index.html<https://localhost:8443/cas/swagger-ui/index.html>
 my new controller endpoint.  Now I have been trying to look for way to update 
CasWebSecurityConfigurerAdapter so that i can add my endpoint for 
CasWebSecurityConfigurerAdapter : Configuring protocol endpoints [[/login**, 
/login/**, /logout**, /logout/**, /validate**, ... to exclude/ignore from http 
security

My main goal is to create new endpoint and then create service class which 
would extend

AbstractUsernamePasswordAuthenticationHandler and then override 
authenticateUsernamePasswordInternal.

We currently do that for cas 3.x version and as part of upgrading to 7.1.3 we 
are essentially rewriting the app.

I have been stuck on this problem for atleast a week and would appreciate some 
help.

Thanks


-- 
- Website: https://apereo.github.io/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 visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/89ea46b2052ea283ad6dc23ad961a62a1e43509c.camel%40uvic.ca.

Reply via email to