Re: [cas-user] log4j vulnerability remediation

2021-12-14 Thread Joe Manavalan
Thanks @ robertoschwald That worked for me as well build.gradle --- dependencies { compile "org.apache.logging.log4j:log4j-api:2.15.0" compile "org.apache.logging.log4j:log4j-core:2.15.0" compile "org.apache.logging.log4j:log4j-jcl:2.15.0" compile

[cas-user] HikariPool-1 connection has passed maxLifetime

2021-01-31 Thread Joe Manavalan
Upgrading from jasig cas 3.4 to 6.1 using cas.authn.pac4j.oauth2 and jpa registry Following is my connection pool setting cas.ticket.registry.jpa.failFastTimeout=1 #cas.ticket.registry.jpa.healthQuery=SELECT 1 cas.ticket.registry.jpa.isolateInternalQueries=false

Re: [cas-user] Jpa Connection pool settings

2021-01-11 Thread Joe Manavalan
ty. > > It looks like your database URL (and other details) may be missing. > > Either way, double check your cas.ticket.registry.jpa.url and the > corresponding port. > > > > Good luck! > > Tom > > > > *From:* cas-...@apereo.org *On Behalf Of *Joe

[cas-user] Jpa Connection pool settings

2021-01-11 Thread Joe Manavalan
Hi, Is there a connection pool setting which can mitigate the below error ? The server after running for few days, stops working with this error. I am using CAS 6.1 [overlay template] with cas.authn.pac4j.oauth2 and jpa registry Following is my current settings for ticket registry

[cas-user] Exclude HikariCP-java7-2.4.13.jar from war

2021-01-04 Thread Joe Manavalan
How do we exclude *HikariCP-java7-2.4.13.ja*r from generated war ? I am using CAS 6.1 [overlay template] with cas.authn.pac4j.oauth2 and jpa registry . Server works fine on Windows and single node Unix boxes. But on clustered Unix environment some of the nodes throws error as shown below and

[cas-user] Re: Suppres DDL

2020-11-10 Thread Joe Manavalan
Thank you . That took care of it On Friday, November 6, 2020 at 10:21:24 AM UTC-6 Misagh Moayyed wrote: > See > https://apereo.github.io/cas/6.1.x/configuration/Configuration-Properties-Common.html#ddl-configuration > > and > > cas.ticket.registry.jpa.ddl-auto=none > > On Monday, November 2,

[cas-user] Suppres DDL

2020-11-02 Thread Joe Manavalan
Using CAS 6.1 with cas.authn.pac4j.oauth2 and jpa registry with the following configuration . All the required default database tables are manually created While starting tomcat after deploying the war, DDL gets executed and throws sql exception ("table already exist".) Application works

Re: [cas-user] Redirection after authentication from https to http

2020-10-19 Thread Joe Manavalan
stall. > You then include them like all the others in the dependencies section. > Make sure you add your company repo to the repos section of build.gradle. > (It may have to be first in the list.) > > > Ray > > On Wed, 2020-09-16 at 22:22 -0700, Joe Manavalan wrote: &g

Re: [cas-user] Redirection after authentication from https to http

2020-09-16 Thread Joe Manavalan
> Instead of using it directly for the *HttpURLConnection*. > This may not be possible though... I haven't tested it... > Thanks. > Best regards, > Jérôme > > > Le mar. 15 sept. 2020 à 18:28, Joe Manavalan a > écrit : > >> Hi Jerome, >> >> For some reas

Re: [cas-user] Redirection after authentication from https to http

2020-09-15 Thread Joe Manavalan
> And you can set a Proxy at this level. But this must be done > programmatically. > You should put some breakpoint in the OAuth20Authenticator. > Thanks. > Best regards, > Jérôme > > > Le jeu. 10 sept. 2020 à 05:30, Joe Manavalan a > écrit : > >> Unfortunately I

Re: [cas-user] Redirection after authentication from https to http

2020-09-09 Thread Joe Manavalan
e mer. 9 sept. 2020 à 06:42, Joe Manavalan a > écrit : > >> >> Hi Jerome, >> Are there any logs we can get to see the timed out request url? >> btw I tried adding the proxy host and port as jvm arguments with the same >> connection timed out error. >> >

Re: [cas-user] Redirection after authentication from https to http

2020-09-08 Thread Joe Manavalan
Hi Jerome, Are there any logs we can get to see the timed out request url? btw I tried adding the proxy host and port as jvm arguments with the same connection timed out error. Thanks Joe On Tuesday, September 8, 2020 at 7:49:32 PM UTC-5 Joe Manavalan wrote: > > HiJerome, > >

Re: [cas-user] Redirection after authentication from https to http

2020-09-08 Thread Joe Manavalan
URL definition or a > proxy setting on the CAS server. > Thanks. > Best regards, > Jérôme > > > Le mar. 8 sept. 2020 à 03:34, Joe Manavalan a > écrit : > >> Hi Jerome, >> >> For testing I set up the server name as the url. And now I h

Re: [cas-user] Redirection after authentication from https to http

2020-09-07 Thread Joe Manavalan
ted the *val url = httpUrl.replace("http", "https");* > solution to work. > > You may also try to set the "secure" flag in the Tomcat connector. > > Thanks. > Best regards, > Jérôme > > > Le jeu. 3 sept. 2020 à 18:48, Joe Manaval

Re: [cas-user] Redirection after authentication from https to http

2020-09-03 Thread Joe Manavalan
I was told there is BIG-IP which counts as reverse proxy in front of tomcat. Are there any specific settings to resolve this ? FYI : We have CAS war deployed in tomcat 8.5 [Not in embedded tomcat] Thanks Joe On Monday, August 31, 2020 at 6:01:46 PM UTC-5 Joe Manavalan wrote: > Thanks Jer

Re: [cas-user] Redirection after authentication from https to http

2020-08-31 Thread Joe Manavalan
luateAction.java:77) On Mon, Aug 31, 2020 at 1:52 AM Jérôme LELEU wrote: > Hi, > > This redirection relies on: request.getRequestURL() > Do you have some reverse proxy in front of your Tomcat? > Thanks. > Best regards, > Jérôme > > > Le jeu. 27 août 2020 à 17:20,

[cas-user] Redirection after authentication from https to http

2020-08-27 Thread Joe Manavalan
I have cas6.1 deployed and working with cas.authn.pac4j.oauth2. The app works fine in my local windows machine on an https port When deployed in unix with the same setting [except the url has domain name instead of server name] the app after authenticating with the external oauth2 provider

[cas-user] delegated authentication Oauth

2020-07-23 Thread Joe Manavalan
Hi Setting up cas 6.1 for delegated authentication on our IDP cas.properties cas.authn.pac4j.oauth2[0].id=id cas.authn.pac4j.oauth2[0].secret=secret cas.authn.pac4j.oauth2[0].authUrl=url cas.authn.pac4j.oauth2[0].tokenUrl=url cas.authn.pac4j.oauth2[0].profileUrl=profileurl