5.x configuring management webapp

60 views
Skip to first unread message

Richard Frovarp

unread,
Nov 3, 2016, 12:31:25 PM11/3/16
to CAS Community
I'm having a very difficult time configuring the management web
application. Using RC5-SNAPSHOT. I keep getting URLs like this:

https://wings.cc.ndsu.nodak.edu/cas/login?service=http%3A%2F%2Flocalhost%3A8081%2Fcas-management%2Fcallback%3Fclient_name%3DCasClient

Problem is that the management application isn't running on 8081, so I
have no idea where that port number is coming from. I also thought I
configured it to use the actual host name instead of localhost. I can't
figure how and where the service URL is being configured. Grepping
through absolutely everything, I can't find 8081. CAS itself is running
on 8081, but is being proxied via HTTPD. I have another PHP based
application from a different host going to this CAS just fine, and it
isn't insisting on sticking 8081 in for the port.


server.name=https://wings.cc.ndsu.nodak.edu
server.port=8080
cas.server.name=https://wings.cc.ndsu.nodak.edu
cas.server.prefix=${cas.server.name}/cas
cas.mgmt.serverName=https://wings.cc.ndsu.nodak.edu

Where is the localhost and 8081 coming from?

Thanks,

Richard

Priit Serk

unread,
Sep 11, 2017, 8:45:18 AM9/11/17
to CAS Community
I ran at the same issue and it seems that configuration is skipped and this parameter is loaded from Tomcat server.xml

CAS AUTHORS, do you even test your code? Similar issues with CAS itself, totally fed up already overwriting your code ...

Trying to figure out what to do with this issue at the moment...
Reply all
Reply to author
Forward
0 new messages