Yes -- it was already set --- properties below.

However, I was less than accurate in my initial post.

The CAS.WAR and CAS-MANAGEMENT.WAR are running in same Tomcat. The Tomcat 
is listening on port 8080; there is an Apache listening at 443 that proxies 
traffic to the Tomcat.

Is the CAS-MANAGEMENT.war being very smart in that it is picking up the 
localhost:8080 from the Tomcat (which has no idea on the domain example.edu 
-- only the Apache does)? And the 'cas.mgmt.serverName' is being ignored?



# CAS server that management app will authenticate with

# This server will authenticate for any app (service) and you can login as 
casuser/Mellon 

cas.server.name:https://example.edu

cas.server.prefix:https://example.edu/cas


cas.mgmt.adminRoles[0]=ROLE_ADMIN

cas.mgmt.userPropertiesFile=file:/etc/cas/config/admusers.properties


# Update this URL to point at server running this management app

cas.mgmt.serverName=https://example.edu



On Sunday, 27 May 2018 23:25:18 UTC-7, Bergner, Arnold wrote:
>
> Maybe it’s only a default setting in the code…
>
>  
>
> You might try setting cas.mgmt.serverName in the management.properties if 
> you haven’t already.
>
>  
>
> Regards 
>
> Arnold
>
>  
>
> *Von:* [email protected] <javascript:> [mailto:[email protected] 
> <javascript:>] *Im Auftrag von *josbrodie
> *Gesendet:* Montag, 28. Mai 2018 04:45
> *An:* CAS Community <[email protected] <javascript:>>
> *Betreff:* [cas-user] CAS Management Service -- hxxps://
> example.edu/cas/login?service=http%3A%2F%2Flocalhost%3A8080%2Fcas-management%2Fmanage.html
>
>  
>
> This is driving me nuts -  if anyone can notice what I am missing.
>
>  
>
> CAS Management Service triggers an authentication at hxxps://
> example.edu/cas-management --- however it redirects to login page 
> as hxxps://example.edu/cas/login?service=http%3A%2F%2Flocalhost%3A8080
> %2Fcas-management%2Fmanage.html
>
>  
>
> I have grepped the folder where the folder for 
> 'cas-services-management-overlay'; 
> however no sign of the 'localhost:8080' configuration. 'netstat -alp' does 
> not find a port listing on 8080.
>
>  
>
>  
>
> cas-services-management-overlay]# grep -r "8080" .
>
> ./README.md:* `http://cas.server.name:*8080*/cas-management`
>
> ./target/cas-management/WEB-INF/classes/static/css/cas-management.css:  
> border-color: 
> #0*8080*8;
>
> ./target/cas-management/WEB-INF/classes/static/css/cas-management.css:  
> background-color: 
> #0*8080*8;
>
> ./target/cas-management/WEB-INF/classes/static/css/cas-management.css:  
> background-color: 
> #0*8080*8;
>
> ./target/cas-management/WEB-INF/classes/static/css/cas-management.css:    
> border-color: 
> #0*8080*8;
>
> ./target/cas-management/WEB-INF/classes/static/css/cas-management.css:    
> background-color: 
> #0*8080*8;
>
> ./target/cas-management/WEB-INF/classes/static/css/cas-management.css:    
> background-color: 
> #0*8080*8;
>
> Binary file ./target/cas-management/WEB-INF/lib/xalan-2.7.2.jar matches
>
>
> ./target/war/work/org.apereo.cas/cas-management-webapp/WEB-INF/classes/static/css/cas-management.css
> :  border-color: #0*8080*8;
>
>
> ./target/war/work/org.apereo.cas/cas-management-webapp/WEB-INF/classes/static/css/cas-management.css
> :  background-color: #0*8080*8;
>
>
> ./target/war/work/org.apereo.cas/cas-management-webapp/WEB-INF/classes/static/css/cas-management.css
> :  background-color: #0*8080*8;
>
>
> ./target/war/work/org.apereo.cas/cas-management-webapp/WEB-INF/classes/static/css/cas-management.css
> :    border-color: #0*8080*8;
>
>
> ./target/war/work/org.apereo.cas/cas-management-webapp/WEB-INF/classes/static/css/cas-management.css
> :    background-color: #0*8080*8;
>
>
> ./target/war/work/org.apereo.cas/cas-management-webapp/WEB-INF/classes/static/css/cas-management.css
> :    background-color: #0*8080*8;
>
> Binary file 
> ./target/war/work/org.apereo.cas/cas-management-webapp/WEB-INF/lib/xalan-2.7.2.jar
>  
> matches
>
> Binary file ./target/cas-management.war.original matches
>
> Binary file ./target/cas-management.war matches
>
> -- 
> - 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 [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/59f4a0c5-fda6-4ab7-9bb2-c29cfaf8a4c8%40apereo.org
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/59f4a0c5-fda6-4ab7-9bb2-c29cfaf8a4c8%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/923a1da9-8471-4304-91a1-7e893b9b8b3d%40apereo.org.

Reply via email to