Re: [cas-user] CAS Management 6.5.2

2022-05-25 Thread Trevor Fong
Thanks a lot Ray,

That was the prompt I needed!  I managed to get cas-management to start
working by updating my stock Tomcat 9's server.xml:
I commented out the default Connector on port 8080 and replaced it with the
following:




Now to squash the next set of gremlins...

Thanks again,
Trev

On Wed, 25 May 2022 at 15:47, Trevor Fong  wrote:

> Hi Ray,
>
> Thanks very much for your response.
>
> It's before authentication - the redirection happens as soon as I GET
> https://my.cas.server/cas-management
> Here's a DEBUG log of it happening right after I do a GET on
> https://my.cas.server/cas-management via my browser:
>
> 2022-05-25 14:48:13,815 INFO
> [org.springframework.web.servlet.DispatcherServlet] -  'dispatcherServlet'>
> 2022-05-25 14:48:13,815 DEBUG
> [org.springframework.web.servlet.DispatcherServlet] -  StandardServletMultipartResolver>
> 2022-05-25 14:48:13,815 DEBUG
> [org.springframework.web.servlet.DispatcherServlet] -  AcceptHeaderLocaleResolver>
> 2022-05-25 14:48:13,815 DEBUG
> [org.springframework.web.servlet.DispatcherServlet] -  FixedThemeResolver>
> 2022-05-25 14:48:13,817 DEBUG
> [org.springframework.web.servlet.DispatcherServlet] -  org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@43a5b282
> >
> 2022-05-25 14:48:13,818 DEBUG
> [org.springframework.web.servlet.DispatcherServlet] -  org.springframework.web.servlet.support.SessionFlashMapManager@3133cb27>
> 2022-05-25 14:48:13,818 DEBUG
> [org.springframework.web.servlet.DispatcherServlet] -
>  be masked to prevent unsafe logging of potentially sensitive data>
> 2022-05-25 14:48:13,818 INFO
> [org.springframework.web.servlet.DispatcherServlet] -  initialization in 3 ms>
> 2022-05-25 14:48:13,832 DEBUG
> [org.springframework.security.web.FilterChainProxy] - 
> 2022-05-25 14:48:13,834 DEBUG
> [org.springframework.security.web.access.channel.ChannelProcessingFilter] -
>  [REQUIRES_SECURE_CHANNEL]>
> 2022-05-25 14:48:13,834 DEBUG
> [org.springframework.security.web.access.channel.RetryWithHttpsEntryPoint]
> - https://localhost:8443/cas-management/>
> 2022-05-25 14:48:13,834 DEBUG
> [org.springframework.security.web.DefaultRedirectStrategy] -  to https://localhost:8443/cas-management/>
>
> Thanks,
> Trev
>
> On Wed, 25 May 2022 at 15:10, Ray Bon  wrote:
>
>> Trev,
>>
>> Are you being redirected to localhost after log in or when you access
>> https://my.server.../cas-management?
>>
>> If it is before, then this could be an issue with the application
>> container.
>> If it is after, it may be in the service definition for cas-management.
>>
>> Ray
>>
>> On Wed, 2022-05-25 at 14:25 -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 Everyone,
>>
>> In an attempt to resolve my CAS Management issues, I've now upgraded to
>> 6.5.3 and am deploying via CASInitializr, all to no avail, still!:
>> # getcas --type cas-overlay --casVersion 6.5.3 --modules
>> support-jpa-ticket-registry,support-jpa-service-registry,support-ldap,support-saml,support-duo,support-audit-jdbc
>> # getcas getcas --type cas-management-overlay --casVersion 6.5.3
>> After "./gradlew clean build" for both, I'm then deploying the resulting
>> cas.war and cas-management.war files to a Tomcat 9 instance.
>>
>> My /etc/cas/config/management.properties is:
>> cas.server.name=https://my.server.name
>> cas.server.prefix=https://my.server.name/cas
>>
>> # Update this URL to point at server running this management app
>> mgmt.server-name=https://my.server.name
>>
>> mgmt.user-properties-file=file:/etc/cas/config/users.json
>> mgmt.admin-roles[0]=ROLE_ADMIN
>> mgmt.user-roles[0]=ROLE_USER
>>
>> server.servlet.context-path=/cas-management
>> server.port=8080
>>
>> logging.config=file:/etc/cas/config/log4j2-management.xml
>> ...
>>
>> When I try to load https://my.server.name/cas-management I still get
>> redirected to http://localhost:8443/cas-management
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>> Trev
>>
>>
>> On Tuesday, May 17, 2022 at 1:55:00 PM UTC-7 Trevor Fong wrote:
>>
>> Hi Mathieu
>>
>> Yes - I do have an /etc/cas/config/management.properties file.  From my
>> initial message:
>> “
>>
>> In the /etc/cas/config/management.properties I have the following
>> configured:
>> cas.server.name=https://
>> cas.server.prefix=https:///cas
>>
>> mgmt.admin-roles[0]=ROLE_ADMIN
>> mgmt.user-properties-file=file:/etc/cas/config/users.properties
>>
>> # Update this URL to point at server running this management app
>> mgmt.server-name=https://
>>
>> server.context-path=/cas-management
>> server.port=443
>>
>> logging.config=file:/etc/cas/config/log4j2-management.xml
>> “
>> Thanks a lot
>> Trev
>>
>> .
>> On May 17, 2022, 9:42 AM -0700, Mathieu HETRU , wrote:
>>
>> Have you created the management.properties file in this place ?
>> /etc/cas/config/management.properties ?
>>
>> Best Regards,
>>
>> Le mar. 17 mai 

Re: [cas-user] CAS Management 6.5.2

2022-05-25 Thread Trevor Fong
Hi Ray,

Thanks very much for your response.

It's before authentication - the redirection happens as soon as I GET
https://my.cas.server/cas-management
Here's a DEBUG log of it happening right after I do a GET on
https://my.cas.server/cas-management via my browser:

2022-05-25 14:48:13,815 INFO
[org.springframework.web.servlet.DispatcherServlet] - 
2022-05-25 14:48:13,815 DEBUG
[org.springframework.web.servlet.DispatcherServlet] - 
2022-05-25 14:48:13,815 DEBUG
[org.springframework.web.servlet.DispatcherServlet] - 
2022-05-25 14:48:13,815 DEBUG
[org.springframework.web.servlet.DispatcherServlet] - 
2022-05-25 14:48:13,817 DEBUG
[org.springframework.web.servlet.DispatcherServlet] - 
2022-05-25 14:48:13,818 DEBUG
[org.springframework.web.servlet.DispatcherServlet] - 
2022-05-25 14:48:13,818 DEBUG
[org.springframework.web.servlet.DispatcherServlet] -

2022-05-25 14:48:13,818 INFO
[org.springframework.web.servlet.DispatcherServlet] - 
2022-05-25 14:48:13,832 DEBUG
[org.springframework.security.web.FilterChainProxy] - 
2022-05-25 14:48:13,834 DEBUG
[org.springframework.security.web.access.channel.ChannelProcessingFilter] -

2022-05-25 14:48:13,834 DEBUG
[org.springframework.security.web.access.channel.RetryWithHttpsEntryPoint]
- https://localhost:8443/cas-management/>
2022-05-25 14:48:13,834 DEBUG
[org.springframework.security.web.DefaultRedirectStrategy] - https://localhost:8443/cas-management/>

Thanks,
Trev

On Wed, 25 May 2022 at 15:10, Ray Bon  wrote:

> Trev,
>
> Are you being redirected to localhost after log in or when you access
> https://my.server.../cas-management?
>
> If it is before, then this could be an issue with the application
> container.
> If it is after, it may be in the service definition for cas-management.
>
> Ray
>
> On Wed, 2022-05-25 at 14:25 -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 Everyone,
>
> In an attempt to resolve my CAS Management issues, I've now upgraded to
> 6.5.3 and am deploying via CASInitializr, all to no avail, still!:
> # getcas --type cas-overlay --casVersion 6.5.3 --modules
> support-jpa-ticket-registry,support-jpa-service-registry,support-ldap,support-saml,support-duo,support-audit-jdbc
> # getcas getcas --type cas-management-overlay --casVersion 6.5.3
> After "./gradlew clean build" for both, I'm then deploying the resulting
> cas.war and cas-management.war files to a Tomcat 9 instance.
>
> My /etc/cas/config/management.properties is:
> cas.server.name=https://my.server.name
> cas.server.prefix=https://my.server.name/cas
>
> # Update this URL to point at server running this management app
> mgmt.server-name=https://my.server.name
>
> mgmt.user-properties-file=file:/etc/cas/config/users.json
> mgmt.admin-roles[0]=ROLE_ADMIN
> mgmt.user-roles[0]=ROLE_USER
>
> server.servlet.context-path=/cas-management
> server.port=8080
>
> logging.config=file:/etc/cas/config/log4j2-management.xml
> ...
>
> When I try to load https://my.server.name/cas-management I still get
> redirected to http://localhost:8443/cas-management
>
> Any help would be greatly appreciated.
>
> Thanks,
> Trev
>
>
> On Tuesday, May 17, 2022 at 1:55:00 PM UTC-7 Trevor Fong wrote:
>
> Hi Mathieu
>
> Yes - I do have an /etc/cas/config/management.properties file.  From my
> initial message:
> “
>
> In the /etc/cas/config/management.properties I have the following
> configured:
> cas.server.name=https://
> cas.server.prefix=https:///cas
>
> mgmt.admin-roles[0]=ROLE_ADMIN
> mgmt.user-properties-file=file:/etc/cas/config/users.properties
>
> # Update this URL to point at server running this management app
> mgmt.server-name=https://
>
> server.context-path=/cas-management
> server.port=443
>
> logging.config=file:/etc/cas/config/log4j2-management.xml
> “
> Thanks a lot
> Trev
>
> .
> On May 17, 2022, 9:42 AM -0700, Mathieu HETRU , wrote:
>
> Have you created the management.properties file in this place ?
> /etc/cas/config/management.properties ?
>
> Best Regards,
>
> Le mar. 17 mai 2022 à 18:14, Trevor Fong  a écrit :
>
> Hi Mathieu
>
> I’ve tried those variations also to the same result.
>
> Thanks a lot for the suggestions though.  Really appreciate any tips.
>
> Trev
>
> .
> On May 17, 2022, 8:31 AM -0700, cas-...@apereo.org, wrote:
>
>
> To
>
> --
> - 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/e27cc2eb-31f1-4181-9183-cbaeacb7275d%40Spark
> 

Re: [cas-user] CAS Management 6.5.2

2022-05-25 Thread Ray Bon
Trev,

Are you being redirected to localhost after log in or when you access 
https://my.server.../cas-management?

If it is before, then this could be an issue with the application container.
If it is after, it may be in the service definition for cas-management.

Ray

On Wed, 2022-05-25 at 14:25 -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 Everyone,

In an attempt to resolve my CAS Management issues, I've now upgraded to 6.5.3 
and am deploying via CASInitializr, all to no avail, still!:
# getcas --type cas-overlay --casVersion 6.5.3 --modules 
support-jpa-ticket-registry,support-jpa-service-registry,support-ldap,support-saml,support-duo,support-audit-jdbc
# getcas getcas --type cas-management-overlay --casVersion 6.5.3
After "./gradlew clean build" for both, I'm then deploying the resulting 
cas.war and cas-management.war files to a Tomcat 9 instance.

My /etc/cas/config/management.properties is:
cas.server.name=https://my.server.name
cas.server.prefix=https://my.server.name/cas

# Update this URL to point at server running this management app
mgmt.server-name=https://my.server.name

mgmt.user-properties-file=file:/etc/cas/config/users.json
mgmt.admin-roles[0]=ROLE_ADMIN
mgmt.user-roles[0]=ROLE_USER

server.servlet.context-path=/cas-management
server.port=8080

logging.config=file:/etc/cas/config/log4j2-management.xml
...

When I try to load https://my.server.name/cas-management I still get redirected 
to http://localhost:8443/cas-management

Any help would be greatly appreciated.

Thanks,
Trev


On Tuesday, May 17, 2022 at 1:55:00 PM UTC-7 Trevor Fong wrote:
Hi Mathieu

Yes - I do have an /etc/cas/config/management.properties file.  From my initial 
message:
“

In the /etc/cas/config/management.properties I have the following configured:
cas.server.name=https://
cas.server.prefix=https:///cas

mgmt.admin-roles[0]=ROLE_ADMIN
mgmt.user-properties-file=file:/etc/cas/config/users.properties

# Update this URL to point at server running this management app
mgmt.server-name=https://

server.context-path=/cas-management
server.port=443

logging.config=file:/etc/cas/config/log4j2-management.xml
“
Thanks a lot
Trev

.
On May 17, 2022, 9:42 AM -0700, Mathieu HETRU , wrote:
Have you created the management.properties file in this place ? 
/etc/cas/config/management.properties ?

Best Regards,

Le mar. 17 mai 2022 à 18:14, Trevor Fong  a écrit :
Hi Mathieu

I’ve tried those variations also to the same result.

Thanks a lot for the suggestions though.  Really appreciate any tips.

Trev

.
On May 17, 2022, 8:31 AM -0700, cas-...@apereo.org, wrote:

To

--
- 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/e27cc2eb-31f1-4181-9183-cbaeacb7275d%40Spark.


--
- 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/CAHNwO5nTgzV3HhUye-TD_Cdt6UUPe_G-56wvAX3Ky04zv-9nKQ%40mail.gmail.com.


--

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 

Re: [cas-user] CAS Management 6.5.2

2022-05-25 Thread Trevor Fong
I forgot to mention that setting all logging to DEBUG doesn't seem to 
reveal anything enlightening.  It just shows that it is finding the 
management.properties file and it is loading those properties.  It just 
doesn't seem to be using them to construct the redirect address:

2022-05-25 07:07:55,084 DEBUG 
[org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] 
- 
2022-05-25 07:07:55,095 INFO 
[org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] 
- 
2022-05-25 07:07:55,096 DEBUG 
[org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] 
- 
2022-05-25 07:07:55,097 DEBUG 
[org.apereo.cas.configuration.loader.SimpleConfigurationPropertiesLoader] - 

2022-05-25 07:07:55,098 DEBUG 
[org.apereo.cas.configuration.loader.SimpleConfigurationPropertiesLoader] - 

2022-05-25 07:07:55,100 DEBUG 
[org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] 
- 
2022-05-25 07:07:55,110 DEBUG 
[org.apereo.cas.configuration.loader.YamlConfigurationPropertiesLoader] - 

2022-05-25 07:07:55,181 INFO 
[org.apereo.cas.mgmt.web.CasManagementWebApplicationServletInitializer] - 


--Trev
On Wednesday, May 25, 2022 at 2:25:44 PM UTC-7 Trevor Fong wrote:

> Hi Everyone,
>
> In an attempt to resolve my CAS Management issues, I've now upgraded to 
> 6.5.3 and am deploying via CASInitializr, all to no avail, still!:
> # getcas --type cas-overlay --casVersion 6.5.3 --modules 
> support-jpa-ticket-registry,support-jpa-service-registry,support-ldap,support-saml,support-duo,support-audit-jdbc
> # getcas getcas --type cas-management-overlay --casVersion 6.5.3  
> After "./gradlew clean build" for both, I'm then deploying the resulting 
> cas.war and cas-management.war files to a Tomcat 9 instance.
>
> My /etc/cas/config/management.properties is:
> cas.server.name=https://my.server.name
> cas.server.prefix=https://my.server.name/cas
>
>
> # Update this URL to point at server running this management app
> mgmt.server-name=https://my.server.name
>
> mgmt.user-properties-file=file:/etc/cas/config/users.json
> mgmt.admin-roles[0]=ROLE_ADMIN
> mgmt.user-roles[0]=ROLE_USER
>
> server.servlet.context-path=/cas-management
> server.port=8080
>
> logging.config=file:/etc/cas/config/log4j2-management.xml
> ...
>
> When I try to load https://my.server.name/cas-management I still get 
> redirected to http://localhost:8443/cas-management
>
> Any help would be greatly appreciated.
>
> Thanks,
> Trev
>
>
> On Tuesday, May 17, 2022 at 1:55:00 PM UTC-7 Trevor Fong wrote:
>
>> Hi Mathieu
>>
>> Yes - I do have an /etc/cas/config/management.properties file.  From my 
>> initial message:
>> “
>>
>> In the /etc/cas/config/management.properties I have the following 
>> configured:
>> cas.server.name=https://
>> cas.server.prefix=https:///cas
>>
>> mgmt.admin-roles[0]=ROLE_ADMIN
>> mgmt.user-properties-file=file:/etc/cas/config/users.properties
>>
>> # Update this URL to point at server running this management app
>> mgmt.server-name=https://
>>
>> server.context-path=/cas-management
>> server.port=443
>>
>> logging.config=file:/etc/cas/config/log4j2-management.xml
>> “
>> Thanks a lot
>> Trev
>>
>> .
>> On May 17, 2022, 9:42 AM -0700, Mathieu HETRU , wrote:
>>
>> Have you created the management.properties file in this place ? 
>> /etc/cas/config/management.properties ?
>>
>> Best Regards,
>>
>> Le mar. 17 mai 2022 à 18:14, Trevor Fong  a écrit :
>>
>>> Hi Mathieu
>>>
>>> I’ve tried those variations also to the same result.
>>>
>>> Thanks a lot for the suggestions though.  Really appreciate any tips.
>>>
>>> Trev
>>>
>>> .
>>> On May 17, 2022, 8:31 AM -0700, cas-...@apereo.org, wrote:
>>>
>>>
>>> To
>>>
>>> --
>>> - 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/e27cc2eb-31f1-4181-9183-cbaeacb7275d%40Spark
>>>  
>>> 
>>> .
>>>
>> --
>> - 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 
>> 

Re: [cas-user] CAS Management 6.5.2

2022-05-25 Thread Trevor Fong
Hi Everyone,

In an attempt to resolve my CAS Management issues, I've now upgraded to 
6.5.3 and am deploying via CASInitializr, all to no avail, still!:
# getcas --type cas-overlay --casVersion 6.5.3 --modules 
support-jpa-ticket-registry,support-jpa-service-registry,support-ldap,support-saml,support-duo,support-audit-jdbc
# getcas getcas --type cas-management-overlay --casVersion 6.5.3  
After "./gradlew clean build" for both, I'm then deploying the resulting 
cas.war and cas-management.war files to a Tomcat 9 instance.

My /etc/cas/config/management.properties is:
cas.server.name=https://my.server.name
cas.server.prefix=https://my.server.name/cas

# Update this URL to point at server running this management app
mgmt.server-name=https://my.server.name

mgmt.user-properties-file=file:/etc/cas/config/users.json
mgmt.admin-roles[0]=ROLE_ADMIN
mgmt.user-roles[0]=ROLE_USER

server.servlet.context-path=/cas-management
server.port=8080

logging.config=file:/etc/cas/config/log4j2-management.xml
...

When I try to load https://my.server.name/cas-management I still get 
redirected to http://localhost:8443/cas-management

Any help would be greatly appreciated.

Thanks,
Trev


On Tuesday, May 17, 2022 at 1:55:00 PM UTC-7 Trevor Fong wrote:

> Hi Mathieu
>
> Yes - I do have an /etc/cas/config/management.properties file.  From my 
> initial message:
> “
>
> In the /etc/cas/config/management.properties I have the following 
> configured:
> cas.server.name=https://
> cas.server.prefix=https:///cas
>
> mgmt.admin-roles[0]=ROLE_ADMIN
> mgmt.user-properties-file=file:/etc/cas/config/users.properties
>
> # Update this URL to point at server running this management app
> mgmt.server-name=https://
>
> server.context-path=/cas-management
> server.port=443
>
> logging.config=file:/etc/cas/config/log4j2-management.xml
> “
> Thanks a lot
> Trev
>
> .
> On May 17, 2022, 9:42 AM -0700, Mathieu HETRU , wrote:
>
> Have you created the management.properties file in this place ? 
> /etc/cas/config/management.properties ?
>
> Best Regards,
>
> Le mar. 17 mai 2022 à 18:14, Trevor Fong  a écrit :
>
>> Hi Mathieu
>>
>> I’ve tried those variations also to the same result.
>>
>> Thanks a lot for the suggestions though.  Really appreciate any tips.
>>
>> Trev
>>
>> .
>> On May 17, 2022, 8:31 AM -0700, cas-...@apereo.org, wrote:
>>
>>
>> To
>>
>> --
>> - 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/e27cc2eb-31f1-4181-9183-cbaeacb7275d%40Spark
>>  
>> 
>> .
>>
> --
> - 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/CAHNwO5nTgzV3HhUye-TD_Cdt6UUPe_G-56wvAX3Ky04zv-9nKQ%40mail.gmail.com
>  
> 
> .
>
>

-- 
- 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/0f4093fe-c4af-42ba-add9-dece21986222n%40apereo.org.


Re: [cas-user] CAS Management 6.5.2

2022-05-17 Thread Trevor Fong
Hi Mathieu

Yes - I do have an /etc/cas/config/management.properties file.  From my initial 
message:
“
In the /etc/cas/config/management.properties I have the following configured:
cas.server.name=https://
cas.server.prefix=https:///cas

mgmt.admin-roles[0]=ROLE_ADMIN
mgmt.user-properties-file=file:/etc/cas/config/users.properties

# Update this URL to point at server running this management app
mgmt.server-name=https://

server.context-path=/cas-management
server.port=443

logging.config=file:/etc/cas/config/log4j2-management.xml
“
Thanks a lot
Trev

.
On May 17, 2022, 9:42 AM -0700, Mathieu HETRU , wrote:
> Have you created the management.properties file in this place ? 
> /etc/cas/config/management.properties ?
>
> Best Regards,
>
> > Le mar. 17 mai 2022 à 18:14, Trevor Fong  a écrit :
> > > Hi Mathieu
> > >
> > > I’ve tried those variations also to the same result.
> > >
> > > Thanks a lot for the suggestions though.  Really appreciate any tips.
> > >
> > > Trev
> > >
> > > .
> > > On May 17, 2022, 8:31 AM -0700, cas-user@apereo.org, wrote:
> > > >
> > > > To
> > > --
> > > - 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/e27cc2eb-31f1-4181-9183-cbaeacb7275d%40Spark.
> --
> - 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/CAHNwO5nTgzV3HhUye-TD_Cdt6UUPe_G-56wvAX3Ky04zv-9nKQ%40mail.gmail.com.

-- 
- 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/f1da14a3-9a9a-4ac0-b2da-81ff294f3443%40Spark.


Re: [cas-user] CAS Management 6.5.2

2022-05-17 Thread Mathieu HETRU
Have you created the management.properties file in this place ?
/etc/cas/config/management.properties ?

Best Regards,

Le mar. 17 mai 2022 à 18:14, Trevor Fong  a écrit :

> Hi Mathieu
>
> I’ve tried those variations also to the same result.
>
> Thanks a lot for the suggestions though.  Really appreciate any tips.
>
> Trev
>
> .
> On May 17, 2022, 8:31 AM -0700, cas-user@apereo.org, wrote:
>
>
> To
>
> --
> - 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/e27cc2eb-31f1-4181-9183-cbaeacb7275d%40Spark
> 
> .
>

-- 
- 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/CAHNwO5nTgzV3HhUye-TD_Cdt6UUPe_G-56wvAX3Ky04zv-9nKQ%40mail.gmail.com.


Re: [cas-user] CAS Management 6.5.2

2022-05-17 Thread Trevor Fong
Hi Mathieu

I’ve tried those variations also to the same result.

Thanks a lot for the suggestions though.  Really appreciate any tips.

Trev

.
On May 17, 2022, 8:31 AM -0700, cas-user@apereo.org, wrote:
>
> To

-- 
- 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/e27cc2eb-31f1-4181-9183-cbaeacb7275d%40Spark.


Re: [cas-user] CAS Management 6.5.2

2022-05-17 Thread Mathieu HETRU
Just add this line in your management.properties :

mgmt.serverName=https://
or
mgmt.server.name=https://

Best Regards,

Le ven. 13 mai 2022 à 00:51, Trevor Fong  a écrit :

> Hi All,
> I'm trying to set up a fresh 6.5.2 install and am having trouble getting
> the cas-management to work.  I can login OK if I go to https://
> /cas/login.
> But if I try to go to https:///cas-management I get
> redirected to https://localhost:8443/cas-management/
>
> Theoretically, this should be controlled by the "mgmt.server-name"
> property in management.properties but changing it doesn't seem to have any
> affect.
>
> In the /etc/cas/config/management.properties I have the following
> configured:
> cas.server.name=https://
> cas.server.prefix=https:///cas
>
> mgmt.admin-roles[0]=ROLE_ADMIN
> mgmt.user-properties-file=file:/etc/cas/config/users.properties
>
> # Update this URL to point at server running this management app
> mgmt.server-name=https://
>
> server.context-path=/cas-management
> server.port=443
>
> logging.config=file:/etc/cas/config/log4j2-management.xml
>
> Would anyone have any clue what's going on?
>
> Thanks a lot,
> Trev
>
> --
> - 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/744d1b02-a0df-4105-b1c0-a051c9379c50n%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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAHNwO5k7V0UAYtQnTo6R9NfhHToyZT3KN1u-ofr%2BKbC3zU2y-w%40mail.gmail.com.


[cas-user] CAS Management 6.5.2

2022-05-12 Thread Trevor Fong
Hi All,
I'm trying to set up a fresh 6.5.2 install and am having trouble getting 
the cas-management to work.  I can login OK if I go to 
https:///cas/login.
But if I try to go to https:///cas-management I get redirected 
to https://localhost:8443/cas-management/

Theoretically, this should be controlled by the "mgmt.server-name" property 
in management.properties but changing it doesn't seem to have any affect.

In the /etc/cas/config/management.properties I have the following 
configured:
cas.server.name=https://
cas.server.prefix=https:///cas

mgmt.admin-roles[0]=ROLE_ADMIN
mgmt.user-properties-file=file:/etc/cas/config/users.properties

# Update this URL to point at server running this management app
mgmt.server-name=https://

server.context-path=/cas-management
server.port=443

logging.config=file:/etc/cas/config/log4j2-management.xml

Would anyone have any clue what's going on?

Thanks a lot,
Trev

-- 
- 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/744d1b02-a0df-4105-b1c0-a051c9379c50n%40apereo.org.