logs below
```bash
2023-12-28 09:14:21,578 DEBUG 
[org.apereo.cas.support.saml.DefaultOpenSamlConfigBean] - <Initialized 
OpenSaml successfully.>
2023-12-28 09:14:21,623 INFO [org.apereo.cas.util.io.PathWatcherService] - 
<Watching directory path at [/opt/casmanagement/conf]>
2023-12-28 09:14:21,625 DEBUG 
[org.apereo.cas.mgmt.config.CasManagementAuthenticationConfiguration] - 
<Configuring an authentication strategy based on CAS running at 
[https://cas.example.org:8443]>
2023-12-28 09:14:21,639 DEBUG 
[org.apereo.cas.mgmt.config.CasManagementAuthenticationConfiguration] - 
<Skipping IP address authentication strategy configuration; no pattern is 
defined>
2023-12-28 09:14:21,665 INFO [org.apereo.cas.mgmt.factory.FormDataFactory] 
- <Call to cas/actuator/discoveryProfile disabled by management 
configuration.  Using default FormData values.>
2023-12-28 09:14:21,728 DEBUG 
[org.apereo.cas.services.resource.AbstractResourceBasedServiceRegistry] - 
<Attempting to read and parse [/tmp/cas/HTTPSandIMAPS-10000001.json]>
2023-12-28 09:14:21,729 DEBUG 
[org.apereo.cas.services.resource.AbstractResourceBasedServiceRegistry] - 
<Attempting to read and parse [/tmp/cas/Apereo-10000002.json]>
2023-12-28 09:14:21,817 WARN [org.pac4j.core.matching.matcher.PathMatcher] 
- <Be careful when using the 'excludeBranch' or 'excludeRegex' methods. 
They use regular expressions and their definitions may be error prone. You 
could exclude more URLs than expected.>
2023-12-28 09:14:21,862 WARN 
[org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration]
 
- <
```

On Wednesday, December 27, 2023 at 10:04:43 AM UTC+1 figurefigure mix wrote:

<dependencies>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-mgmt-webapp-tomcat</artifactId>
<version>${mgmt.version}</version>
<type>war</type>
<scope>runtime</scope>
</dependency>
</dependencies>

once i run it with `java -jar cas-management.jar 
--spring.profiles.active=management` and I open it url 
`localhost:8443/cas-management` it redirect me on `
https://cas.example.org:8443/cas/login` 
<https://cas.example.org:8443/cas/login>

why is this happening instead of redirecting me on the referenced cas 
server I've declered under application-management.properties the following 
properties

cas.server.name=http://localhost:8443
cas.server.prefix=${cas.server.name}/cas
server.servlet.context-path=/cas-management
server.port=8443

the file properties work properly because when i change the server port 
also tomcat port change with it

-- 
- 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/cecafbe7-7791-4fbc-b8e4-3671c4f0d08dn%40apereo.org.

Reply via email to