[cas-user] CAS TGT creation api is taking more than 1 min

2025-03-19 Thread 'Ankit Kumar' via CAS Community
Hello Folks, I was wondering on how I can potentially improve the performance of cas/v1/tickets endpoint that creates a tgt ticket. The code is deployed in AWS ECS with cpu 8 vCPU and memory 30 GB and tickets are stored in postgres. More than 1 min latency seems too much for just creating tg

Re: [cas-user] Re: Apereo #cas Slack Channel

2025-03-19 Thread 'Ankit Kumar' via CAS Community
Could you please also add ankit.kum...@savvas.com to the slack workspace as well? On Tuesday, March 18, 2025 at 2:11:42 PM UTC-4 gautham jampala wrote: > Hello, > > Could you please add gauta...@gmail.com to the slack workspace. > > Thank you, > Gautham > > On Tuesday, March 18, 2025 at 9:38:33 

[cas-user] CAS API to create takes too long

2025-03-19 Thread 'Ankit Kumar' via CAS Community
Hello Folks, As of right now we are able to create TGT, ST, redirectURL and also use redirectURL to authenticate. Our system is really beefed up in cloud and i see creating of TGT takes really long time and cpu usage also shoots up during this time. 1 2025-03-19T18:33:23.784Z 2025-03-19T18:3

[cas-user] Re: CAS 7.1.3 deployment in AWS ECS

2025-03-05 Thread 'Ankit Kumar' via CAS Community
Ray Bon Would you have any insight into this perhaps? Thanks Ankit On Sunday, March 2, 2025 at 12:57:34 AM UTC-5 Ankit Kumar wrote: > Hello Folks, > > I was able to run CAS 7.1.3 locally in my machine but in order to do it I > had to run bunch of keystore commands to generate jks file and add

[cas-user] MFA in Cas version: 3.5.0

2025-03-02 Thread 'Ankit Kumar' via CAS Community
Hello Experts, We are currently working on upgrading our CAS version to 7.1.3 where there is lot of documentation for MFA but it might be a while until we get there. I was wondering if there is any documentation around how to enable MFA for CAS version 3.5.0 which was part of org.jasig.cas

[cas-user] CAS 7.1.3 deployment in AWS ECS

2025-03-01 Thread 'Ankit Kumar' via CAS Community
Hello Folks, I was able to run CAS 7.1.3 locally in my machine but in order to do it I had to run bunch of keystore commands to generate jks file and add to my java home certs keytool -genkey -keyalg RSA -alias cas -keystore thekeystore -storepass changeit -validity 360 -keysize 2048 keytool

Re: [cas-user] Angular frontend with CAS 7.1.3 backend

2025-02-06 Thread 'Ankit Kumar' via CAS Community
31, 2025 at 10:48:29 PM UTC-5 Ray Bon wrote: > Ankit, > > See https://fawnoos.com/2025/01/27/cas72x-authn-handlers/ for an example. > > Ray > > On Thu, 2025-01-30 at 19:59 -0800, 'Ankit Kumar' via CAS Community wrote: > > Hello all, > > We have frontend as

[cas-user] Angular frontend with CAS 7.1.3 backend

2025-01-31 Thread 'Ankit Kumar' via CAS Community
Hello all, We have frontend as angular app which sends login credentials as username, password along with few other request headers that helps us to construct the right credentials to search for so we had to write an new REST endpoint which calls the service class which extends AbstractUsernam

Re: [cas-user] Customize CasWebSecurityConfigurerAdapter to allow custom endpoint

2025-01-23 Thread 'Ankit Kumar' via CAS Community
; > 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 Ku

[cas-user] Re: Customize CasWebSecurityConfigurerAdapter to allow custom endpoint

2025-01-20 Thread 'Ankit Kumar' via CAS Community
Figured out the solution; just posting here if it helps anyone. I create custom config endpoint to ignore my endpoint and then added the filename in org.springframework.boot.autoconfigure.AutoConfiguration.imports so that it can discover the config class package com.test.config; import org.ap

[cas-user] Customize CasWebSecurityConfigurerAdapter to allow custom endpoint

2025-01-20 Thread 'Ankit Kumar' via CAS Community
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 my new controller endpoint. Now I have been trying to look for way to update CasWebSecurityConfigurerAdapter so that i can add my endpoint for CasWe

Re: [cas-user] CAS WAR Overlay - REST APIs added in custom java class not detecting

2025-01-18 Thread 'Ankit Kumar' via CAS Community
Hello Nishant, I am trying to do something similar to what you did for cas 7.1.3 and this is the question I posted on stackoverflow https://stackoverflow.com/questions/79367285/modify-cas-overlay-7-1-3-to-add-custom-restcontroller Could you please guide me through how were you able to make it w