Re: [cas-user] WARN message in 6.6.0-RC3 about UserDetailsServiceAutoConfiguration

2022-06-10 Thread Ray Bon
You might be able to get away with just setting a value for the password. This 
would apply to the default spring user, 'user', which the log message refers.

Ray

On Fri, 2022-06-10 at 17:27 -0600, Noelette Stout wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

I actually have that in there, but I commented it out after I set up other 
users. I'll uncomment it.

Thanks!

On Fri, Jun 10, 2022, 5:22 PM Ray Bon mailto:r...@uvic.ca>> wrote:
Noelette,

You can add this to cas.properties

spring.security.user.name=casuser
spring.security.user.password=Some secret, spaces are cool

This is part of spring boot features, cas uses actuators,
https://apereo.github.io/cas/6.5.x/monitoring/Monitoring-Statistics.html

Ray

On Fri, 2022-06-10 at 14:49 -0700, Noelette Stout wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

I started getting the message below when I upgraded my alpha CAS system to 
6.6.0-RC3. I have been unable to figure out what security configuration it is 
referring to, and just what I need to update. Can someone fill me in on what 
this message is referring to?

2022-06-10 15:10:30,735 WARN 
[org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration]
 - <

Using generated security password: ae6cf0a9-16d3-43c5-98b0-88e1d1d709fd

This generated password is for development use only. Your security 
configuration must be updated before running your application in production.
>

Thanks,
Noelette Stout
Idaho State University

--

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 a topic in the Google 
Groups "CAS Community" group.
To unsubscribe from this topic, visit 
https://groups.google.com/a/apereo.org/d/topic/cas-user/NhnJngtD66g/unsubscribe.
To unsubscribe from this group and all its topics, 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/bd4c69e55a50a9f27ec7090575f963657721248f.camel%40uvic.ca.


--

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/7745b6b902758bf1382d284bbd23fa5e137719f6.camel%40uvic.ca.


Re: [cas-user] WARN message in 6.6.0-RC3 about UserDetailsServiceAutoConfiguration

2022-06-10 Thread Noelette Stout
I actually have that in there, but I commented it out after I set up other
users. I'll uncomment it.

Thanks!

On Fri, Jun 10, 2022, 5:22 PM Ray Bon  wrote:

> Noelette,
>
> You can add this to cas.properties
>
> spring.security.user.name=casuser
> spring.security.user.password=Some secret, spaces are cool
>
> This is part of spring boot features, cas uses actuators,
> https://apereo.github.io/cas/6.5.x/monitoring/Monitoring-Statistics.html
>
> Ray
>
> On Fri, 2022-06-10 at 14:49 -0700, Noelette Stout wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
> I started getting the message below when I upgraded my alpha CAS system to
> 6.6.0-RC3. I have been unable to figure out what security configuration it
> is referring to, and just what I need to update. Can someone fill me in on
> what this message is referring to?
>
> 2022-06-10 15:10:30,735 WARN
> [org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration]
> - <
>
> Using generated security password: ae6cf0a9-16d3-43c5-98b0-88e1d1d709fd
>
> This generated password is for development use only. Your security
> configuration must be updated before running your application in production.
> >
>
> Thanks,
> Noelette Stout
> Idaho State University
>
> --
>
> 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 a topic in the
> Google Groups "CAS Community" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/a/apereo.org/d/topic/cas-user/NhnJngtD66g/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/bd4c69e55a50a9f27ec7090575f963657721248f.camel%40uvic.ca
> 
> .
>

-- 
- 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/CAC3gc2HdSeBeQeg-B%2BNLbd5Ej62ktypnQQZQXrWRqkur03Hk%2BA%40mail.gmail.com.


Re: [cas-user] WARN message in 6.6.0-RC3 about UserDetailsServiceAutoConfiguration

2022-06-10 Thread Ray Bon
Noelette,

You can add this to cas.properties

spring.security.user.name=casuser
spring.security.user.password=Some secret, spaces are cool

This is part of spring boot features, cas uses actuators,
https://apereo.github.io/cas/6.5.x/monitoring/Monitoring-Statistics.html

Ray

On Fri, 2022-06-10 at 14:49 -0700, Noelette Stout wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

I started getting the message below when I upgraded my alpha CAS system to 
6.6.0-RC3. I have been unable to figure out what security configuration it is 
referring to, and just what I need to update. Can someone fill me in on what 
this message is referring to?

2022-06-10 15:10:30,735 WARN 
[org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration]
 - <

Using generated security password: ae6cf0a9-16d3-43c5-98b0-88e1d1d709fd

This generated password is for development use only. Your security 
configuration must be updated before running your application in production.
>

Thanks,
Noelette Stout
Idaho State University

--

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/bd4c69e55a50a9f27ec7090575f963657721248f.camel%40uvic.ca.


[cas-user] WARN message in 6.6.0-RC3 about UserDetailsServiceAutoConfiguration

2022-06-10 Thread Noelette Stout
I started getting the message below when I upgraded my alpha CAS system to 
6.6.0-RC3. I have been unable to figure out what security configuration it 
is referring to, and just what I need to update. Can someone fill me in on 
what this message is referring to?

2022-06-10 15:10:30,735 WARN 
[org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration]
 
- <

Using generated security password: ae6cf0a9-16d3-43c5-98b0-88e1d1d709fd

This generated password is for development use only. Your security 
configuration must be updated before running your application in production.
>

Thanks,
Noelette Stout
Idaho State University

-- 
- 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/d53571ad-e1d0-40f4-bab5-1b88f42b04a9n%40apereo.org.


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

2022-06-10 Thread Trevor Fong
Hi Francois,

Just wondering if you were able to resolve your situation and if so, how?  
I'm also facing a similar thing.  

Thanks a lot,
Trev

On Thursday, March 31, 2022 at 10:54:41 AM UTC-7 fjan...@gmail.com wrote:

> Thank you for the response.
>
> We actually use CAS Management application, and I will follow your 
> suggestion.
>
> We have a bunch of services  to migrate : 140+, with their own contacts, 
> policies and release attriibute settings.
>
> I have tried the actuator end point /services from CAS Server , wich 
> export all services in one file, but  JSON format seems different from the 
> import format used in CAS 6.4.
>
> i will try the management application way, with hopefully more success... 
>
> Best regards
>
> Francois
> Le 31/03/2022 à 17:35, 'Richard Frovarp' via CAS Community a écrit :
>
> The tables in the post are for the service registry. If you don't migrate 
> those, you will have to reconfigure from scratch. 
>
> I do not know what the plans are for the project with respect to the 
> service registry. It's changed a bit between versions, and usually seems 
> like a pain. We made the change in a previous upgrade to just drop JSON 
> files on the filesystem and have CAS pick those up. It keeps us free of 
> changes in the JPA method (which we had been using), and free from 
> management app changes. In addition, we can keep service configuration in 
> git, which is extremely nice.
>
> What I gather from that post is you are going to need to change the source 
> code of RegisteredServicesReportController either changing that method, or 
> adding that method. Looks like it is adding the method. Compile, put into 
> your deployment (or download your DB and run locally), and then hit that 
> point to get the exported JSON services. If you are running the management 
> application in 5.3, I think you can export services as JSON as well, just 
> by clicking a bunch of times and possibly doing copy and paste. Depending 
> on your number of services, it might be simpler to just export via the 
> management application, which I'm assuming that you are using. That would 
> save you from editing code and having to deploy a new class file.
>
> Richard
>
> On 3/31/22 09:32, Pablo Vidaurri wrote:
>
> There is no need to migrate the data. These tables are for various type of 
> tickets. Worst case when you cut over to v6.4 your users will have to login 
> again. 
>
> -psv
>
>
> On Wednesday, March 30, 2022 at 9:43:58 AM UTC-5 fjan...@gmail.com wrote:
>
>> Hi, 
>>
>> I need to migrate JPA service registry  from Apereo CAS  5.2.2 to 6.4, 
>> but in this last version , data structures seem to have been replaced by 
>> just one table with flat JSON field in a column : no more relationnal 
>> structure, or I missed something. 
>> Has anyone here observe the same ? 
>> If the JPA migration is not possible, does it mean I have to use JSON in 
>> any way ? 
>>
>> The best hit had met my searches till now is this page : 
>> https://fawnoos.com/2021/01/19/cas53-service-registry-migration-to-cas63/ 
>> But its content is pretty elliptic and I don't see where to apply the 
>> snippet showed in it :  I have an installation based on cas-overlay,  
>> there is no  java file named RegisteredServicesReportController to 
>> override... 
>>
>> In short my purpose is as follow : migration services from JPA to JSON 
>>
>> Does anyone faced the same issue ? 
>>
>> Thanks a lot for any clue. 
>>
>>
>> -- 
> - 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+u...@apereo.org.
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/133c5bb4-c6cd-4ec6-bf46-e1deaad1ffc4n%40apereo.org
>  
> 
> .
>
>
> -- 
> - 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+u...@apereo.org.
>
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/75ef5b42-d3b7-366b-8b5b-c784e578b5a2%40ndsu.edu
>  
> 
> .
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: htt

[cas-user] HAproxy Moodle and CAS SSO authentication

2022-06-10 Thread Baba Ndiaye
Hello guys
I'm deploying Haproxy Moodle and CAS authentication
Haproxy with IP public on frontend in the backend i have my moodle private 
IP.
In my config.php i put the public IP. It's work well i can access to the 
moodle plateforme behind the ip public of my Haproxy.
But when i change the authentication manual to CAS SSO. I'm always redirect 
to my private ip of my moodle. And they can't authenticate correcty!  How 
to fix it please
@Ray Bon
@Misbagh

-- 
- 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/ad91dc59-f050-489f-ad42-48a982a808b5n%40apereo.org.