Re: [cas-user] CAS Management 6.5.6 with JPA Service Registry is also writing JSON files

2022-10-03 Thread Trevor Fong
Thank you so much Fotis and Ray!  
All your help just made my day!!  Your suggestions and directions solved 
this issue for me.

Thanks again,
Trev

On Friday, September 30, 2022 at 2:38:04 AM UTC-7 fme...@uoa.gr wrote:

> Hello Trevor,
>
> I just submitted a PR (https://github.com/apereo/cas-management/pull/247) 
> that backports the fix to the 6.5 version. This should solve your problem 
> in the long term, since the change will be eventually propagated to the 
> management-overlay. If you do not want to wait, you can build the project 
> from the cas-management repo (as you already tried). The process that I 
> personally follow (without claiming it is optimal, it just works for me) is 
> the following.
>
>1. git clone https://github.com/apereo/cas-management.git  
>2. git checkout 6.5.6 
>3. #edit the dependencies.gradle as shown in the PR. 
>4. #edit the ./gradle/webapp.gradle to include the dependencies you 
>need. (ex: implementation 
>"org.apereo.cas:cas-server-support-jpa-service-registry:${casVersion}") 
>5. cd webapp/cas-mgmt-webapp 
>6. ../../gradlew clean build 
>
> You will find the produced war in the webapp/cas-mgmt-webapp/build/libs 
> folder.
>
> Hope it helps,
>
> Fotis
>
> Until then,
> On 30/9/22 08:37, Trevor Fong wrote:
>
>
> Hi Ray, 
>
> Thanks a lot for your reply.  
> > Versioned branches are current for cas-management-overlay.
> Aha - thanks for pointing that out!  Looking at the 6.5 version at 
> https://github.com/apereo/cas-management-overlay/tree/6.5, there is a 
> note:
> "This repository is always automatically generated from the CAS 
> Initializr. Do NOT submit pull requests here as the change-set will be 
> overwritten on the next sync.To learn more, please visit the CAS 
> documentation." 
> so it appears this is the same project as can be generated via "getcas 
> --directory cas-management-overlay-6.5.6 --type cas-management-overlay 
> --casVersion 6.5.6" and then you need to manually add in whatever 
> dependencies you need in build.gradle.
> But as pointed out by Fotis, it looks like the base code that provides 
> the cas-management-overlay-6.5.6 wrongly 
> includes cas-server-support-json-service-registry, preconfigured, so I'll 
> need to figure out how to create my own custom cas-management-overlay from 
> that case code.
>
> Thanks,
> Trev
> On Thursday, September 29, 2022 at 6:22:40 PM UTC-7 Ray Bon wrote:
>
>> Trevor,
>>
>> Only the 'main' branch is not updated. Versioned branches are current for 
>> cas-management-overlay.
>>
>> Ray
>>
>> On Thu, 2022-09-29 at 17:26 -0700, Trevor Fong wrote:
>>
>> Notice: This message was sent from outside the University of Victoria 
>> email system. Please be cautious with links and sensitive information.
>>
>> Hi Fotis, 
>>
>> Thanks a lot for your reply.  How do I remove 
>> the org.apereo.cas:cas-server-support-json-service-registry dependency if 
>> I'm using the CAS Initializr?  Is this possible?'
>> This is what I'm doing so far:
>> getcas --directory cas-management-overlay-6.5.6 --type 
>> cas-management-overlay --casVersion 6.5.6 --modules 
>> support-jpa-service-registry
>> Problem is that cas-management-overlay-6.5.6/gradle does not contain 
>> dependencies.gradle.
>> Copying one in from 
>> https://github.com/apereo/cas-management/blob/6.5.x/gradle/dependencies.gradle
>>  
>> and removing the reference to 
>> org.apereo.cas:cas-server-support-json-service-registry and then doing a 
>> "./gradlew clean build" still produces a cas-management.war that 
>> contains org.apereo.cas:cas-server-support-json-service-registry-6.5.6.jar
>> I'm guessing the starter project is prebuilt with 
>> the cas-server-support-json-service-registry already configured?
>>
>> I've tried building from the code from github but It doesn't seem to 
>> output a "cas-management.war" file like the output from CAS Initilizr:
>> git clone https://github.com/apereo/cas-management.git 
>> git checkout v6.5.6
>> #edit cas-management/gradle/dependencies.gradle
>>
>> I haven't been able to compile a working cas-management webapp this way 
>> so far: running "./gradlew clean build" doesn't produce a 
>> cas-management.war file like the project from "getcas", rather it produces 
>> build/libs/cas-mgmt-6.5.6.jar which is not deployable to tomcat.  Does 
>> anyone know how to produce the war file this way?
>>
>> Upgrading to cas-6.6.0/cas-mangement-6.6.0 via getcas doesn't work for me 
>> - cas-mangement seems to login OK, but then freezes at the "Loading..." 
>> page with no errors in the logs.
>> cas-6.5.8/cas-mangement-6.5.6 via getcas does work, but with 
>> org.apereo.cas:cas-server-support-json-service-registry-6.5.6.jar still 
>> present.
>>
>> BTW - https://github.com/apereo/cas-management-overlay seems to be 
>> defunct with no updates since Jan 20, 2021 - 
>> https://github.com/apereo/cas-management seems to the current focus,
>>
>> Thanks,
>> Trevor
>> On Thursday, September 29, 2022 at 1:18:36 AM UTC-7 

[cas-user] CAS-Management 6.6.0 Cas service Problems

2022-10-03 Thread Chris
I am having problems with the CAS-management service version 6.6.0 with CAS 
6.6.0 and creating CAS services via the management page.

I noticed that with CAS 6.6.0 the 
org.aperero.cas.services.RegexRegisterdService class does not seam to work, 
and it needs to be changed to org.aperero.cas.services.CasRegisterdService 
for the service to work as expected.

But via the CAS-Management Page creating a CAS service as Service Type CAS 
Client still creates the service as 
org.aperero.cas.services.RegexRegisterdService, the same way the CAS Client 
(Deprecated) type does.

Has anyone run into this or know what might need to be done to fix this 
problem

Thanks,
Chris

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c5447da7-994f-489a-8436-66fbc2f61c31n%40apereo.org.


Re: [cas-user] Urgent help - 401 Unauthorized for ST : CAS 6.3.7.4

2022-10-03 Thread Ray Bon
Anusuya,

It looks like cas redirects the browser with the service ticket (ST...). But 
there are no cas logs about validating the service ticket.
This indicates that the target application is not processing the the service 
ticket correctly or is unable to connect to the cas server.
Check target application configuration and logs.

Ray

On Mon, 2022-10-03 at 10:54 -0700, Morning Star (vidivelli) wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Ray,
After enabling logger,
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.services.RegisteredServiceAccessStrategyUtils  Current 
authentication via ticket [TGT-1-*S7zelhSYVY- brqalxyz300  ] allows service 
[https://qa7-cp.example.com/home/] to participate in the existing SSO session
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.authentication.policy.RequiredHandlerAuthenticationPolicyFactory 
 Required authentication handlers for this service [web] are [[]]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.factory.DefaultServiceTicketFactory  Looking up service 
ticket id generator for 
[org.apereo.cas.authentication.principal.SimpleWebApplicationServiceImpl]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Adding ticket 
[TGT-1-*S7zelhSYVY- brqalxyz300  ] with ttl [9223372036854775807s]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Locating map name 
[ticketGrantingTicketsCache] for ticket definition 
[DefaultTicketDefinition(implementationClass=class 
org.apereo.cas.ticket.TicketGrantingTicketImpl, prefix=TGT, 
properties=DefaultTicketDefinitionProperties(cascadeRemovals=false, 
storageName=ticketGrantingTicketsCache, storageTimeout=28800, 
storagePassword=null, excludeFromCascade=false), order=2147483647)]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Located Hazelcast map 
instance [ticketGrantingTicketsCache]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Added ticket 
[TGT-1-*S7zelhSYVY-brqalxyz300] with ttl [9223372036854775807s]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Adding ticket 
[ST-1-JxIpepiwAy7W0nkTT9cgLlDUnoE- brqalxyz300  ] with ttl [10s]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Locating map name 
[serviceTicketsCache] for ticket definition 
[DefaultTicketDefinition(implementationClass=class 
org.apereo.cas.ticket.ServiceTicketImpl, prefix=ST, 
properties=DefaultTicketDefinitionProperties(cascadeRemovals=false, 
storageName=serviceTicketsCache, storageTimeout=10, storagePassword=null, 
excludeFromCascade=false), order=-2147483648)]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Located Hazelcast map 
instance [serviceTicketsCache]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Added ticket 
[ST-1-JxIpepiwAy7W0nkTT9cgLlDUnoE- brqalxyz300  ] with ttl [10s]
2022-10-03 10:43:36 [INFO] org.apereo.cas.DefaultCentralAuthenticationService  
Granted service ticket [ST-1-JxIpepiwAy7W0nkTT9cgLlDUnoE- brqalxyz300  ] for 
service [https://qa7-cp.example.com/home/] and principal [ca000...@test.com]


2022-10-03 10:43:36 [DEBUG] org.springframework.webflow.engine.Transition  
Completed transition execution.  As a result, the flow execution has ended
2022-10-03 10:43:36 [DEBUG] 
org.springframework.webflow.mvc.servlet.FlowHandlerAdapter  Sending external 
redirect to 
'https://qa7-xyz.fdfffce.com/customer/?ticket=ST-1-JxIpepiwyy7W0nkTT9cgLlDUnoE-brqalint300'
2022-10-03 10:43:36 [DEBUG] org.springframework.web.servlet.DispatcherServlet  
Completed 302 FOUND

2022-10-03 10:43:41 [DEBUG] 
com.hazelcast.internal.partition.InternalPartitionService  [localhost]:5701 
[dev] [4.0.1] Checking partition state, version: 272
2022-10-03 10:43:41 [DEBUG] 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager  Connection 
manager is shutting down
2022-10-03 10:43:41 [DEBUG] 
org.apache.http.impl.conn.DefaultManagedHttpClientConnection  http-outgoing-0: 
Close connection
2022-10-03 10:43:41 [DEBUG] 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager  Connection 
manager shut down

In browser, I could see 401 unauthorized error :-(

On Monday, October 3, 2022 at 10:55:01 PM UTC+5:30 Ray Bon wrote:
Anusuya,

What is in the cas logs?
You may have to increase to debug.

Ray


On Mon, 2022-10-03 at 10:09 -0700, Morning Star (vidivelli) wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi all,

We are developing new 5 test environments for existing CAS.
With same CAS configuration and code, in one environment we are getting 401 
unauthorized for ST.

  1.
Request URL:

Re: [cas-user] Urgent help - 401 Unauthorized for ST : CAS 6.3.7.4

2022-10-03 Thread Morning Star (vidivelli)
Hi Ray,
After enabling logger,
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.services.RegisteredServiceAccessStrategyUtils  Current 
authentication via ticket [TGT-1-*S7zelhSYVY- brqalxyz300  ] allows 
service [https://qa7-cp.example.com/home/] to participate in the existing 
SSO session
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.authentication.policy.RequiredHandlerAuthenticationPolicyFactory 
 Required authentication handlers for this service [web] are [[]]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.factory.DefaultServiceTicketFactory  Looking up 
service ticket id generator for 
[org.apereo.cas.authentication.principal.SimpleWebApplicationServiceImpl]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Adding ticket 
[TGT-1-*S7zelhSYVY- brqalxyz300  ] with ttl [9223372036854775807s]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Locating map name 
[ticketGrantingTicketsCache] for ticket definition 
[DefaultTicketDefinition(implementationClass=class 
org.apereo.cas.ticket.TicketGrantingTicketImpl, prefix=TGT, 
properties=DefaultTicketDefinitionProperties(cascadeRemovals=false, 
storageName=ticketGrantingTicketsCache, storageTimeout=28800, 
storagePassword=null, excludeFromCascade=false), order=2147483647)]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Located Hazelcast 
map instance [ticketGrantingTicketsCache]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Added ticket 
[TGT-1-*S7zelhSYVY-brqalxyz300] with ttl [9223372036854775807s]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Adding ticket 
[ST-1-JxIpepiwAy7W0nkTT9cgLlDUnoE- brqalxyz300  ] with ttl [10s]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Locating map name 
[serviceTicketsCache] for ticket definition 
[DefaultTicketDefinition(implementationClass=class 
org.apereo.cas.ticket.ServiceTicketImpl, prefix=ST, 
properties=DefaultTicketDefinitionProperties(cascadeRemovals=false, 
storageName=serviceTicketsCache, storageTimeout=10, storagePassword=null, 
excludeFromCascade=false), order=-2147483648)]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Located Hazelcast 
map instance [serviceTicketsCache]
2022-10-03 10:43:36 [DEBUG] 
org.apereo.cas.ticket.registry.HazelcastTicketRegistry  Added ticket 
[ST-1-JxIpepiwAy7W0nkTT9cgLlDUnoE- brqalxyz300  ] with ttl [10s]
2022-10-03 10:43:36 [INFO] 
org.apereo.cas.DefaultCentralAuthenticationService  Granted service ticket 
[ST-1-JxIpepiwAy7W0nkTT9cgLlDUnoE- brqalxyz300  ] for service 
[https://qa7-cp.example.com/home/] and principal [ca000...@test.com]


2022-10-03 10:43:36 [DEBUG] org.springframework.webflow.engine.Transition 
 Completed transition execution.  As a result, the flow execution has ended
2022-10-03 10:43:36 [DEBUG] 
org.springframework.webflow.mvc.servlet.FlowHandlerAdapter  Sending 
external redirect to 
'https://qa7-xyz.fdfffce.com/customer/?ticket=ST-1-JxIpepiwyy7W0nkTT9cgLlDUnoE-brqalint300'
2022-10-03 10:43:36 [DEBUG] 
org.springframework.web.servlet.DispatcherServlet  Completed 302 FOUND

2022-10-03 10:43:41 [DEBUG] 
com.hazelcast.internal.partition.InternalPartitionService  [localhost]:5701 
[dev] [4.0.1] Checking partition state, version: 272
2022-10-03 10:43:41 [DEBUG] 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager  Connection 
manager is shutting down
2022-10-03 10:43:41 [DEBUG] 
org.apache.http.impl.conn.DefaultManagedHttpClientConnection 
 http-outgoing-0: Close connection
2022-10-03 10:43:41 [DEBUG] 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager  Connection 
manager shut down

In browser, I could see 401 unauthorized error :-(

On Monday, October 3, 2022 at 10:55:01 PM UTC+5:30 Ray Bon wrote:

> Anusuya,
>
> What is in the cas logs?
> You may have to increase to debug.
>
> Ray
>
>
> On Mon, 2022-10-03 at 10:09 -0700, Morning Star (vidivelli) wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information.
>
>
> Hi all, 
>
> We are developing new 5 test environments for existing CAS. 
> With same CAS configuration and code, in one environment we are getting 
> 401 unauthorized for ST. 
>
>1. Request URL: 
>*https://qa7-co. 
>
> ***8.com/home/?ticket=ST-10-Ua6SNdU1hVuqTxhnTQ-z643rZws-brqalxyz311
>  
>*
>2. Request Method: 
>GET
>3. Status Code: 
>401 Unauthorized
>4. Remote Address: 
>10.34.33.44:443
>5. 
>Referrer Policy: 
>strict-origin-when-cross-origin
>
>
> Can someone help me how to get this resolved?
> Whether this is CAS side issue or web server issue? How to investigate it 
> further.
>
> Any help appreciated!
>
>
> Regards,
> 

Re: [cas-user] How can I display an error on failed login on the login page?

2022-10-03 Thread Ray Bon
Thomas,

The default cas-overlay project displays this message:
Authentication attempt has failed, likely due to invalid credentials. Please 
verify and try again.

Have you modified the log in page?

Ray

On Fri, 2022-09-30 at 09:19 -0700, 'Thomas Chatzigrigoriou' via CAS Community 
wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Every time the user enters wrong username or password he is being redirected to 
the same page with the empty fields ready to retry

I am trying to show a message above the login form that states "wrong username 
or password"

Is there a way to know if the user just visited the login page or indeed 
entered wrong username of password and has been redirected to the login page? 
and how is that possible?

I 've read the cas documentation but with no luck finding something about it.

Any help would be much appreciated


--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory 
the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose 
historical relationships with the land continue to this day.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f1298c4d9180267635c7f0c05a659ffe930dba1f.camel%40uvic.ca.


Re: [cas-user] Urgent help - 401 Unauthorized for ST : CAS 6.3.7.4

2022-10-03 Thread Ray Bon
Anusuya,

What is in the cas logs?
You may have to increase to debug.

Ray


On Mon, 2022-10-03 at 10:09 -0700, Morning Star (vidivelli) wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi all,

We are developing new 5 test environments for existing CAS.
With same CAS configuration and code, in one environment we are getting 401 
unauthorized for ST.

  1.
Request URL:
https://qa7-co.***8.com/home/?ticket=ST-10-Ua6SNdU1hVuqTxhnTQ-z643rZws-brqalxyz311
  2.
Request Method:
GET
  3.
Status Code:
401 Unauthorized
  4.
Remote Address:
10.34.33.44:443
  5.
Referrer Policy:
strict-origin-when-cross-origin

Can someone help me how to get this resolved?
Whether this is CAS side issue or web server issue? How to investigate it 
further.

Any help appreciated!


Regards,
Anusuya.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c94a32cce49e56c162bf5d5a931e3dfc5dbd95bd.camel%40uvic.ca.


[cas-user] Urgent help - 401 Unauthorized for ST : CAS 6.3.7.4

2022-10-03 Thread Morning Star (vidivelli)
Hi all,

We are developing new 5 test environments for existing CAS. 
With same CAS configuration and code, in one environment we are getting 401 
unauthorized for ST. 

   1. Request URL: 
   
   
*https://qa7-co.***8.com/home/?ticket=ST-10-Ua6SNdU1hVuqTxhnTQ-z643rZws-brqalxyz311*
   2. Request Method: 
   GET
   3. Status Code: 
   401 Unauthorized
   4. Remote Address: 
   10.34.33.44:443
   5. 
   Referrer Policy: 
   strict-origin-when-cross-origin
   

Can someone help me how to get this resolved?
Whether this is CAS side issue or web server issue? How to investigate it 
further.

Any help appreciated!


Regards,
Anusuya.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/790a504d-3c67-45c7-aed6-72c33d674059n%40apereo.org.


Re: [cas-user] Help needed in upgrading CAS Server

2022-10-03 Thread Ray Bon
Anusuya,

Is your custom exception (com.xyz.exceptionclass) being thrown?
Are you following, https://fawnoos.com/2019/07/02/cas61x-error-handling/

If you just want to replace a message that is already built into cas, you can 
add your override of the message to custom_messages.properties, 
https://fawnoos.com/2018/06/10/cas-userinterface-customizations/

Ray

On Fri, 2022-09-30 at 11:58 -0700, Morning Star (vidivelli) wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Thanks Ray. It was very helpful.

Couple of questions:
Compatible CAS client version for 6.5.8
I'm not able to view  custom exception message in UI.
Cas.authn.errors.exception=com.xyz.exceptionclass.
Whether this property is correct?
Custom_messages.properties file should be placed under resources folder right?

Thanks,
Anusuya.

On Friday, September 30, 2022 at 1:00:49 AM UTC+5:30 Ray Bon wrote:
Anusuya,

It would be in
src/main/resources/templates/login

You can search for it here https://github.dev/apereo/cas/tree/6.5.x (requires 
sign in) or you can clone the main cas project and search for the file on your 
local.

Ray

On Thu, 2022-09-29 at 09:18 -0700, Morning Star (vidivelli) wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Thanks Ray.
I was able to make my local up by upgrading CAS to 6.5.8. Hope this version 
doesn't have any vulnerability jars.
As there is a change in folder structure for upgraded version, under which 
folder I should keep "casGenericSuccessView.html"

Regards,
Anusuya.

On Tuesday, September 27, 2022 at 11:13:37 PM UTC+5:30 Ray Bon wrote:
Anusuya,

Cas 6.5 will run in a stand alone tomcat.
If you upgrade your cas version, you will have to upgrade your third
party jars as well.
Also, some cas packages may have changed name.

To find where those missing artifacts are located, run
mvn dependency:tree

Ray

On Tue, 2022-09-27 at 07:37 -0700, Morning Star (vidivelli) wrote:
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive
> information.

>
> Thanks Jonathan & Lukasz for your prompt response.
> We are working on fixing vulnerability issue. As a part of it, we

> have many jar files. Along with that, we have  cas-server-core-
> servic...@6.3.7.4?type=jar and  
> cas-server-w...@6.3.7.4.

> Its very difficult to change the version of these 2 jars alone. So,
> just thinking is there any easy way to upgrade CAS server version
> from 6.3.7 to 6.5.+.
>
> Which version of Client we should use if we switch to 6.5.8? As of
> now, we are deploying the CAS war file in tomcat server. Is this
> possible when we switch to 6.5+ version?
>
> If I change the cas.version to 6.5.8, I am getting opensaml and
> shibboleth dependency issue :-( Atleast if this dependency issue is
> solved, I should be able to proceed further.
> Missing artifact net.shibboleth.tool:xmlsectool:jar:3.0.0
> Missing artifact net.shibboleth.utilities:java-support:jar:8.2.1
> Missing artifact org.opensaml:opensaml-core:jar:4.1.1
> Missing artifact org.opensaml:opensaml-messaging-impl:jar:4.1.1
> Missing artifact org.opensaml:opensaml-profile-api:jar:4.1.1
> Missing artifact org.opensaml:opensaml-profile-impl:jar:4.1.1
> Missing artifact org.opensaml:opensaml-saml-api:jar:4.1.1
> Missing artifact org.opensaml:opensaml-saml-impl:jar:4.1.1
> Missing artifact org.opensaml:opensaml-security-api:jar:4.1.1
> Missing artifact org.opensaml:opensaml-security-impl:jar:4.1.1
> Missing artifact org.opensaml:opensaml-soap-api:jar:4.1.1
> Missing artifact org.opensaml:opensaml-storage-impl:jar:4.1.1
> Missing artifact org.opensaml:opensaml-xacml-saml-api:jar:4.1.1
> Missing artifact org.opensaml:opensaml-xacml-saml-impl:jar:4.1.1
> Missing artifact org.opensaml:opensaml-xmlsec-impl:jar:4.1.1
> Missing artifact org.opensaml:opensaml:jar:4.1.1
> overlay [ id org.apereo.cas:cas-server-webapp-tomcat] is not a
> dependency of the project.
>
> Please find my pom.xml file below:
> 
> http://maven.apache.org/POM/4.0.0;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd ">
> 4.0.0
> org.apereo.cas
> cas
> war
> 1.0
>
> 
> 
> 
> com.rimerosolutions.maven.plugins
> wrapper-maven-plugin
> 0.0.5
> 
> true
> MD5
> 
> 
> 
> org.apache.maven.plugins
> maven-war-plugin
> 2.6
>
> 
> cas
> false
>
> false
> 
> false
>
> ${manifestFileToUse}

Re: [cas-user] How can I share tickets between multiple CAS nodes

2022-10-03 Thread Ray Bon

Can you check the mongodb server to see if the tickets are there?
Does it work with one cas server.

Ray

On Fri, 2022-09-30 at 05:40 -0700, a m wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

I have multiple CAS nodes connected with one MongoDB server
but still tickets is not share between nodes

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/33d20b6c1eb3db210aafd3a465b4ac5490429ea5.camel%40uvic.ca.


[cas-user] CAS with Spring Cloud Kubernetes Discovery Server

2022-10-03 Thread Ken Hopkins
The CAS documentation talks about integrating with Eureka and Consul for 
service discovery.  We are currently using Eureka, but are looking to 
switch to the Spring Cloud Kubernetes Discovery Server 
(https://docs.spring.io/spring-cloud-kubernetes/docs/current/reference/html/#spring-cloud-kubernetes-discoveryserver).
  
A very first attempt at using the Spring Cloud Kubernetes DiscoveryClient 
didn't seem to work.

Before I start digging deep and or trying different configurations, I'm 
wondering if anyone knows if there is any expectation that getting CAS to 
use a Kubernetes DiscoveryClient should or should not be possible?

As an added wrinkle, we're still looking to support Eureka integration in 
our local development environments, and only use the Kubernetes 
DiscoveryClient in our test/production environments.

We've just migrated from 6.5.9 to 6.6.0 if that matters.

Thanks for any insight.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/b4e797b5-3249-444e-9d88-b829bc80fa79n%40apereo.org.