[cas-user] Delegated authentication : error app not registered

2023-09-22 Thread Mohamed Amdouni
Hello, I'm trying to test a POC with *CAS Delegated Authentication* *PAC4J*. The target Authentication flow is the following: 1. Client requests access to SP (SAML client) 2. SP redirects to my CAS Server (SAML IDP) 3. CAS IDP displays the authentication methods (MENU) 4. User select

[cas-user] Migration process best practices

2023-10-04 Thread Mohamed Amdouni
Hello, I would like to have your feedback about migrations. What’s the best method? : 1- create a new overlay from scratch and modify property files : cas.properties Or 2- modify only the cas.version Is it required/ recommended to use gradle in overlay ? My current project is with maven. Migrat

[cas-user] Update tomcat version only

2023-10-19 Thread Mohamed Amdouni
Hello, When using cas version 6.6.12 for example the embedded tomcat server is 9.0.80. What is the best way to upgrade only the tomcat server to 9.0.81. For spring boot application with maven it required only to set the tomcat.version pom properties. Best regards, -- - Website: https://apereo.

[cas-user] No generated SAML metadata after migration

2023-10-27 Thread Mohamed Amdouni
Hello, I'm migrating the cas from 5.X to 6.6.12 So I created a new template from Cas Initializer and try to apply the properties i cas.properties. Actually the server is started with the Ready message. The authentication with an ldap user is OK. But when testing cas as a SAML Idp, I have some

Re: [cas-user] CAS 6.6.9

2023-10-30 Thread Mohamed Amdouni
Hello try to give more memory (set the Xmx jvm property ) 512 is very low in my opinion. Best regards. Le lun. 30 oct. 2023 à 17:45, Sathish Sekar a écrit : > Hi Team, > > I have upgraded CAS 6.3.7.4 to 6.6.9. After deployment I'm getting > *java.lang.OutOfMemoryError: > Java heap space *and se

[cas-user] Re: Update tomcat version only

2023-10-30 Thread Mohamed Amdouni
Thank you this is what I’m looking for. Changing only the tomcat version. Best regards. Le jeu. 19 oct. 2023 à 12:13, Mohamed Amdouni a écrit : > Hello, > > When using cas version 6.6.12 for example the embedded tomcat server is > 9.0.80. > What is the best way to upgrade

[cas-user] Re: No generated SAML metadata after migration

2023-10-31 Thread Mohamed Amdouni
Hi, Update : when requesting the /idp/metadata I get a null pointer exception because the registered service is null. I checked the required properties for saml like entity id etc and they are all specified … Thank you in advance Le ven. 27 oct. 2023 à 18:02, Mohamed Amdouni a écrit

[cas-user] Re: No generated SAML metadata after migration

2023-11-02 Thread Mohamed Amdouni
understand Jpa is used for per service metadata which is not the case for me. My cas server is acting as a saml idp. The dependencies was already present in the old version 5.3 Thank you for your help. Best regards. Le mar. 31 oct. 2023 à 18:19, Mohamed Amdouni a écrit : > Hi, > > Upda

Re: [cas-user] Re: No generated SAML metadata after migration

2023-11-02 Thread Mohamed Amdouni
> On Thu, 2023-11-02 at 18:24 +0100, Mohamed Amdouni wrote: > > Notice: This message was sent from outside the University of Victoria > email system. Please be cautious with links and sensitive information. > > > Hello, > > When removing the saml-idp-metadata-jpa from the

Re: [cas-user] Re: [6.6.13] cas-overlay-template slow rendering of login page

2023-11-04 Thread Mohamed Amdouni
Hello, Could be related to http/2 multiplexing features. Multiplexing should enhance performance but in some situations it does not (if the browser is not compatible etc) I would try disabling http2 to confirm the root cause by setting. server.http2.enabled=false Best regards. Le sam. 4 nov.

[cas-user] Cas 6.6.X : spring.main.allow-bean-defenition-overriding

2023-11-06 Thread Mohamed Amdouni
Hello, When starting my cas application, I encountered an error with the messagesource bean. There is a conflict with two classes, MessageSourceAutoConfiguration and CasCoreWebMessageSourceConfiguration. The setting of spring.main.allow-bean-defenition-overriding to true resolve the issue as sugge

[cas-user] CAS 6.6.13 : No qualifying bean of type 'org.springframework.transaction.TransactionManager'

2023-11-08 Thread Mohamed Amdouni
Hello, Given a cas project with these dependencies : implementation "org.apereo.cas:cas-server-support-saml" implementation "org.apereo.cas:cas-server-support-saml-idp" implementation "org.apereo.cas:cas-server-support-saml-idp-metadata-jpa" implementation "org.apereo.cas:cas-server-support-ldap"

[cas-user] Re: SPNEGO/Kerberos config

2023-11-10 Thread Mohamed Amdouni
Hello, Did you figured out what is the root cause? I have a similar problem with null as principal after versio upgrade. Thanks. Le jeudi 24 février 2022 à 11:29:04 UTC+1, spfma...@e.mail.fr a écrit : > Hi, > > I am setting a new CAS server in order to replace our well working 3.5.1, > and

Re: [cas-user] CAS 6.6.9 Heap memory issue

2023-11-15 Thread Mohamed Amdouni
Hi, Please post the stack trace Did you configurer the Jvm to generate a heap dump when out of memory exception is encouraged ? Is it about meta space ? Best regards Le jeu. 16 nov. 2023 à 05:35, Sathish Sekar a écrit : > Hi Team, > > I have upgraded to CAS 6.3.7.4 to 6.6.9 recently and I'm fac

Re: [cas-user] CAS 6.6.9 Heap memory issue

2023-11-16 Thread Mohamed Amdouni
pl.java:137) ~[?:?] >> at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:124) ~[?:?] >> at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:136) ~[?:?] at >> com.hazelcast.internal.networking.nio.NioThread.selectLoop( >> NioThread.java:292) ~[hazelcast-5.1.7.jar:5.1.7]

[cas-user] cas 6.6.X : saml client : Authentication statement is too old error

2023-11-22 Thread Mohamed Amdouni
Hello, I’m testing a saml client after cas migration from 5.3 to 6.6. The saml authentication is processed successfully ( using spnego & Kerberos): no login details are entered, the spnego token is sent and validated .After a long idle period, if I refresh the page I got an error on the wall clie

[cas-user] Re: CAS 6.6.13 : No qualifying bean of type 'org.springframework.transaction.TransactionManager'

2023-11-22 Thread Mohamed Amdouni
when more than one transaction manager is present - override the ticket and service bean to not use the spring integration bean that calls @ transactional without qualifier. Thank you for your help. Le jeu. 9 nov. 2023 à 00:26, Mohamed Amdouni a écrit : > Hello, > > Given a cas pro

[cas-user] Re: cas 6.6.X : saml client : Authentication statement is too old error

2023-11-24 Thread Mohamed Amdouni
ut not the same ST? Thank you. Best Regards, Le jeudi 23 novembre 2023 à 06:38:55 UTC+1, Mohamed Amdouni a écrit : > Hello, > > I’m testing a saml client after cas migration from 5.3 to 6.6. > > The saml authentication is processed successfully ( using spnego & > Ker

Re: [cas-user] Using the username field pre-authentication to do home realm discovery?

2023-11-28 Thread Mohamed Amdouni
Hello, I think that it could be possible using pac4j (cas delegated authentication) and you choose the dynamic type with some groovy scripts : https://apereo.github.io/cas/6.5.x/integration/Delegate-Authentication.html But I don’t know if you can process the ldap authentication with the same cas

Re: [cas-user] CAS 7.0.0-RC9 combining cas-server-support-electrofence with cas-server-support-events-jpa

2023-11-28 Thread Mohamed Amdouni
Hello, Would you please share the whole trace with caused by etc. I think it’s similar to what I have encountered using two jpa module : see my question about a similar error. I think that it’s a bug in cas because it should use a default Primary transaction manager when a spring integration def

Re: [cas-user] CAS 7.0.0-RC9 combining cas-server-support-electrofence with cas-server-support-events-jpa

2023-11-30 Thread Mohamed Amdouni
ne > risk calculator enabled for error to occur. I use: > > *cas.authn.adaptive.risk.ip.enabled=true* > > > Kind regards, > > Michał Nowakowski > > wtorek, 28 listopada 2023 o 15:46:09 UTC+1 Mohamed Amdouni napisał(a): > >> Hello, >> >> Would you plea

[cas-user] Re: cas 6.6.X : saml client : Authentication statement is too old error

2023-11-30 Thread Mohamed Amdouni
es not display error messages. > > > Do you know which parameter in cas 6.6.X that update the *AuthnInstance* > when used with the same TGT but not the same ST? > > Thank you. > > > > Best Regards, > > Le jeudi 23 novembre 2023 à 06:38:55 UTC+1, Mohamed Amdoun

[cas-user] Saml profile

2023-11-30 Thread Mohamed Amdouni
Hello, In cas 6.X how to force Callback profile for SAML requests? I mean when a post request is initiated from the SP, it becomes a Get request with Saml AuthnRequest in the url Best regards -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guid

Re: [cas-user] Re: cas 6.6.X : saml client : Authentication statement is too old error

2023-12-01 Thread Mohamed Amdouni
2 60 45 63 / 01 40 08 80 48 > > Le jeu. 30 nov. 2023, 11:31, Mohamed Amdouni a > écrit : > >> Hello, >> >> When comparing the behavior between cas 5.X and cas 6.X there are some >> differences in building the SAML2 Response : >> >> *CAS 5.X

[cas-user] Re: cas 6.6.X : saml client : Authentication statement is too old error

2023-12-01 Thread Mohamed Amdouni
> > https://learn.microsoft.com/en-us/entra/identity-platform/single-sign-on-saml-protocol > >- The AuthnInstant attribute specifies the time at which the user >authenticated with Microsoft Entra ID. > > > On Dec 1, 2023, at 9:50 AM, Mohamed Amdouni wrote: > >

Re: [cas-user] Registered Services CAS 5.1.5 JPA -> 6.6.13 JSON

2023-12-07 Thread Mohamed Amdouni
Hello, I’m in the same situation. I think that I will re-enter them using a backup. I used the option drop create to migrate the schema. The I was not able to log in my manager, I have to use file system json service for manager. Then will import the backup. But if there are some tips to migrate

Re: [cas-user] Re: Migrating services from version 5 to 6

2024-01-19 Thread Mohamed Amdouni
Hello, I didn’t find such a service in cas 5 but there is this blog post that explains service migration solution. It’s the blog of Misagh so could be used as a reference. https://fawnoos.com/2021/01/19/cas53-service-registry-migration-to-cas63/ For me I will use manual export import because it

Re: [cas-user] Re: Migrating services from version 5 to 6

2024-01-19 Thread Mohamed Amdouni
Hello, For me it is a migration from 5.x to 6.x. I think that enabling export services needs also some spring management properties to be added ( in addition to cas if it exists ) Best regards Le sam. 20 janv. 2024 à 06:16, Ray Bon a écrit : > To get a list of all properties (and some defunc

Re: [cas-user] Re: Migrating services from version 5 to 6

2024-01-22 Thread Mohamed Amdouni
eol-schedule > You can move to version 7 without going through 6 first. > > Ray > > On Sat, 2024-01-20 at 08:38 +0100, Mohamed Amdouni wrote: > > Notice: This message was sent from outside the University of Victoria > email system. Please be cautious with links and sensitive info

Re: [cas-user] how do i enable jdbc feature in CAS 6.6.12?

2024-01-26 Thread Mohamed Amdouni
Hi, Did you tried to add the driver dependency ? cas-server-support-jdbc-drivers Le ven. 26 janv. 2024 à 18:42, Yan Zhou a écrit : > Hi there, > > I maybe missing something obvious. > > I created my own JDBC-based authenticator, I noticed that the JDBC > authentication is Not registered, s

Re: [cas-user] how do i enable jdbc feature in CAS 6.6.12?

2024-01-29 Thread Mohamed Amdouni
pereo.cas:cas-server-support-jpa-util" > implementation "org.apereo.cas:cas-server-support-oidc" > > if (project.hasProperty("casModules")) { > def dependencies = project.getProperty("casModules").split(",") > dependencies.each {

Re: [cas-user] help me MFA

2024-01-31 Thread Mohamed Amdouni
Hello, First will suggest to check the documentation here https://apereo.github.io/cas/7.0.x/mfa/Configuring-Multifactor-Authentication.html And the blog here : https://fawnoos.com/2022/01/31/cas65x-simple-mfa-provider/ Best regards Le mer. 31 janv. 2024 à 11:26, Issaka Rabo Moutari a écrit :

Re: [cas-user] Re: Alway Error 404 after compilation deployment

2024-02-05 Thread Mohamed Amdouni
Hi, How you build your app? What are your dependencies ? Did you tried using embedded Tomcat ? Java -jar cas.war Is it required to have external tomacat? Le lun. 5 févr. 2024 à 09:24, Jérémie Pilette a écrit : > > Hi Pablo, > I never have the possibility to see the authentification form. It

Re: [cas-user] Re: Alway Error 404 after compilation deployment

2024-02-05 Thread Mohamed Amdouni
Did you get the ready message on the server start up ? You have a 404 error so check if the context is ok in the cas.properties. And put debug level in log configuration. A blog post that could help you : https://fawnoos.com/2022/03/04/cas65-gettingstarted-overlay/ Le lun. 5 févr. 2024 à 10:19

Re: [cas-user] Re: Alway Error 404 after compilation deployment

2024-02-05 Thread Mohamed Amdouni
level in log4j2.xml, I have no debug logs... > > Le lun. 5 févr. 2024 à 10:29, Mohamed Amdouni a > écrit : > >> Did you get the ready message on the server start up ? >> >> You have a 404 error so check if the context is ok in the cas.properties. >> >> And

Re: [cas-user] Re: Alway Error 404 after compilation deployment

2024-02-05 Thread Mohamed Amdouni
11:01:32 +0100] "GET > /DevMgmt/DiscoveryTree.xml HTTP/1.1" 404 719 > 192.168.1.197 - - [05/Feb/2024:11:07:12 +0100] "GET /cas/ HTTP/1.1" 404 698 > 192.168.1.174 - - [05/Feb/2024:11:31:52 +0100] "GET > /DevMgmt/DiscoveryTree.xml HTTP/1.1" 404 719 > 192.168.1

[cas-user] Re: why is redirecting to cas.example.org:8443 instead of using cas.server.name host

2024-02-07 Thread Mohamed Amdouni
Hello, I have the same problem with CAS management. Try to connect to https://localhost:8443/cas-management/ redirects me to cas.example.org:8443/cas/login?service Even with management.properties updated with cas server. In the log file I see that it loads an application.properties/ manage

Re: [cas-user] Re: why is redirecting to cas.example.org:8443 instead of using cas.server.name host

2024-02-07 Thread Mohamed Amdouni
fault files and their properties come from the main project. > > Ray > > On Wed, 2024-02-07 at 08:28 -0800, Mohamed Amdouni wrote: > > Notice: This message was sent from outside the University of Victoria > email system. Please be cautious with links and sensitive informatio

Re: [cas-user] Re: why is redirecting to cas.example.org:8443 instead of using cas.server.name host

2024-02-09 Thread Mohamed Amdouni
Hi Ray, Would it be possible to share with me your build.gradke the dependencies section. I think that I miss the dependency that contains the definition of the security filter chain. Best regards. Le mer. 7 févr. 2024 à 19:15, Mohamed Amdouni a écrit : > You mean 6.4? The only vers

[cas-user] Cas configuration properties source locator

2024-03-05 Thread Mohamed Amdouni
Hello, I’m using cas management 6.6.4 and cas 6.6.15 I have an instance of cas management that uses standalone mode. I use the cas.standalone.configuration-directory property to set the configuration folder where I have my management.properties application.properties and bootstrap.properties. Al

Re: [cas-user] Cas configuration properties source locator

2024-03-06 Thread Mohamed Amdouni
ise it will load an empty memory database for cas management... Best Regards. Le mer. 6 mars 2024 à 03:46, Ray Bon a écrit : > Mohamed, > > I was having similar problems with v6.5. > Maybe try version 7.0 > > Ray > > On Tue, 2024-03-05 at 10:53 +0100, Mohamed Amdouni wrote

Re: [cas-user] SAML2 protocol in CAS6.4.6.6

2024-03-22 Thread Mohamed Amdouni
And you should also add the attribute definitions : cas.authn.attribute-repository.* These attaributes mapping will be added in the saml2 response claims Le ven. 22 mars 2024 à 15:43, Mohamed Amdouni a écrit : > Hello, > > I have a working instance with : > > In addition, >

Re: [cas-user] SAML2 protocol in CAS6.4.6.6

2024-03-22 Thread Mohamed Amdouni
Hello, I have a working instance with : In addition, cas.server.prefix cas.server.scope cas.server.name And implementation "org.apereo.cas:cas-server-support-saml:${project.' cas.version'}" But I think it s not required because it s for saml1 Le ven. 22 mars 2024 à 14:09, Xavier Rodríguez a

Re: [cas-user] CAS management 7

2024-03-27 Thread Mohamed Amdouni
Hello, I had a similar issue running cas management 6.6.4 and it was related to https. My cas management was started with ssl disabled and this version of cas management requires SSL (see the security adapter ) and in the logs it says requires secure channel. I tried to override the adapter but

[cas-user] How to configure access to cas management using LDAP roles

2024-07-15 Thread Mohamed Amdouni
Hello, I configured a cas management with : mgmt.admin-roles[0]=ROLE_ADMIN mgmt.user-properties-file= I would like to give access using the ldap attribute memberOf instead of hardcoding users in the file "mgmt.user-properties-file". I mean, if a user is a memeber of the cas-admin ldap group

Re: [cas-user] CAS management 7

2024-07-15 Thread Mohamed Amdouni
sultExpression = [null]]; result = error> >>>> 2024-03-28 09:43:41,073 DEBUG >>>> [org.springframework.webflow.engine.Transition] - >>> [Transition@1b2a72b9 on = *, to = >>>> initialAuthenticationRequestValidationCheck]> >>>> 2024-03-28

Re: [cas-user] How to configure access to cas management using LDAP roles

2024-07-16 Thread Mohamed Amdouni
have > description: ROLE_ADMIN > > I believe the attribute value must be ROLE_ADMIN. > You may be able to remap the value from your ldap group. > > Ray > -- > *From:* cas-user@apereo.org on behalf of Mohamed > Amdouni > *Sent:* 15 July 2024 08:27 &g

Re: [cas-user] CAS management 7

2024-07-18 Thread Mohamed Amdouni
and CORS, something > must have changed between 6.6 and 7.0. > > But I haven't been able to solve it yet. > > Best Regards > > Hartmut > Mohamed Amdouni schrieb am Montag, 15. Juli 2024 um 18:45:03 UTC+2: > >> Hello, >> >> Will explain what was t

[cas-user] SAML request could not be determined from the authentication request

2024-07-30 Thread Mohamed Amdouni
Hello, We are encoutering this exception : *"SAML request could not be determined from the authentication request"* Description of the flow : 1- Third Application that includes iFrame 2- the iFrame contains the SP (the application secured by CAS with SAML2 protocol) When calling the SP within

Re: [cas-user] Login both CAS and Azure AD

2024-08-22 Thread Mohamed Amdouni
Hello may be this tutorial blog will help you. https://fawnoos.com/2022/09/16/cas70x-delegated-authn-azure-ad/ The application is secured using which protocol and you will use such protocol to delegate to azure ad ? Oidc ? Best regards Le jeu. 22 août 2024 à 21:18, Doe a écrit : > Hello All

Re: [cas-user] How to configure access to cas management using LDAP roles

2024-08-26 Thread Mohamed Amdouni
want to use group membership, you may have to convert it into a new > attribute with ROLE_ADMIN as its value > https://apereo.github.io/cas/7.0.x/integration/Attribute-Definitions.html > > Ray > ---------- > *From:* cas-user@apereo.org on behalf of Mohamed >

Re: [cas-user] CAS 7.1.0 as SAML Idp

2024-09-25 Thread Mohamed Amdouni
Hi, What I suggest you to check are: - does the path to metadata accessible by cas ? - is there traces that this service was loaded by cas ? - is it present in the declared services, there is an endpoint for this check but you should include some reporting dependencies - does the sp-metadata.xml c

Re: [cas-user] Upgrade CAS 5.3.16 to the latest (7.1)

2024-12-24 Thread Mohamed Amdouni
Hello, I recently upgraded cas from 5.x to 6.6.x I recommend you to strat a new branch and don’t try to upgrade. - you will use gradle instead of maven : use the cas initializer to create a brand new project - you don’t need to upgrade version by version just read the release notes on GitHub or

Re: [cas-user] Error SAML implementation

2024-12-19 Thread Mohamed Amdouni
Hello, I think that you should go for a more recent version and use Cas initializer to generate you overlay https://getcas.apereo.org/ui If you want to keep this version try to generate from cas initializer then check for missing dependencies by comparing the gradle files… Best regards. Le jeu

Re: [cas-user] Error SAML implementation

2024-12-22 Thread Mohamed Amdouni
Good luck 🤞 Best regards. Le jeu. 19 déc. 2024 à 12:41, Christian a écrit : > Hello > Mohamed Amdouni, thanks for answering, even so I don't know if it would be > a good idea at all. I have a question here. > Could I make this version change without any problem? The fact is th

Re: [cas-user] CAS SAML with Atlassian Cloud

2025-01-18 Thread Mohamed Amdouni
Hello, Be careful about the attribute in the metadata validUntil="2025-01-19T14:44:57Z" This will unregister the application after this date. Best regards. Le sam. 18 janv. 2025 à 04:39, K. Asef Erfan a écrit : > Hello , > just wanted post an update here that we got CAS working , Ill post our

Re: [cas-user] Re: CAS 7.0.10 and Apache Tomcat version

2025-04-10 Thread Mohamed Amdouni
i 10 avril 2025 à 16:55:46 UTC+2, Mohamed Amdouni a écrit : > >> Hi, >> >> Check this discussion >> >> https://groups.google.com/a/apereo.org/g/cas-user/c/Lw19PuKwi-0/m/BgXBdp-6BwAJ?utm_medium=email&utm_source=footer&pli=1 >> >> Best regards &

Re: [cas-user] Re: CAS 7.0.10 and Apache Tomcat version

2025-04-10 Thread Mohamed Amdouni
Hi, Check this discussion https://groups.google.com/a/apereo.org/g/cas-user/c/Lw19PuKwi-0/m/BgXBdp-6BwAJ?utm_medium=email&utm_source=footer&pli=1 Best regards Le jeu. 10 avr. 2025 à 16:22, Andrew Tillinghast a écrit : > Rather than comment out the tomcat version specify the version you want,