do you type https://so.xxxx.xy:8444/cas-management in your browser

2018-04-08 18:04 GMT-03:00 Olivier Calzi <[email protected]>:

> As it's behind an haproxy i expected it to be the true url lie
> sso.xxxx.xy/cas-management not localhost.
>
> On Sunday, April 8, 2018 at 10:29:24 PM UTC+2, Manfredo Hopp wrote:
>>
>> What do you expect you url to be.
>> What do you type con browser
>>
>> El domingo, 8 de abril de 2018, Olivier Calzi <[email protected]>
>> escribió:
>>
>>> I got a non-working application as you can see on the pictures attached.
>>>
>>> Still localhost on the url despite my configuration.
>>>
>>>
>>> On Sunday, April 8, 2018 at 9:50:06 PM UTC+2, Manfredo Hopp wrote:
>>>>
>>>> I dont see any problem with the url you get.
>>>> What do you expect
>>>>
>>>> El domingo, 8 de abril de 2018, Olivier Calzi <[email protected]>
>>>> escribió:
>>>>
>>>>> Hi,
>>>>>
>>>>> No problem.
>>>>>
>>>>> My folder is : /etc/cas/config
>>>>> The file is named management.properties
>>>>>
>>>>>
>>>>>
>>>>> Le dim. 8 avr. 2018 à 18:11, Man H <[email protected]> a écrit :
>>>>>
>>>>>> Sorry forget last answers.
>>>>>>
>>>>>> Which folder are your management.properties?
>>>>>>
>>>>>> El domingo, 8 de abril de 2018, Olivier Calzi <[email protected]>
>>>>>> escribió:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Thanks for your feedback.
>>>>>>> As i explain in my first post i did use all the settings from the
>>>>>>> link you provided.
>>>>>>>
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> On Sunday, April 8, 2018 at 5:49:39 PM UTC+2, Manfredo Hopp wrote:
>>>>>>>>
>>>>>>>> https://apereo.github.io/cas/5.2.x/installation/Configuratio
>>>>>>>> n-Properties.html#management-webapp
>>>>>>>>
>>>>>>>> El domingo, 8 de abril de 2018, Olivier Calzi <[email protected]>
>>>>>>>> escribió:
>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> It's my first post here so please be kind to me :).
>>>>>>>>>
>>>>>>>>> I managed to get a working CAS server with the following
>>>>>>>>> dependency on the pom.xml
>>>>>>>>> <cas.version>5.2.2</cas.version>
>>>>>>>>>
>>>>>>>>> <dependency>
>>>>>>>>>          <groupId>org.apereo.cas</groupId>
>>>>>>>>>         <artifactId>cas-server-support-json-service-registry</
>>>>>>>>> artifactId>
>>>>>>>>>         <version>${cas.version}</version>
>>>>>>>>> </dependency>
>>>>>>>>> <dependency>
>>>>>>>>>           <groupId>org.apereo.cas</groupId>
>>>>>>>>>           <artifactId>cas-server-support-pm-ldap</artifactId>
>>>>>>>>>           <version>${cas.version}</version>
>>>>>>>>>     </dependency>
>>>>>>>>>     <dependency>
>>>>>>>>>           <groupId>org.apereo.cas</groupId>
>>>>>>>>>           <artifactId>cas-server-support-ldap</artifactId>
>>>>>>>>>           <version>${cas.version}</version>
>>>>>>>>>     </dependency>
>>>>>>>>>
>>>>>>>>> On the cas-management pom.ml
>>>>>>>>>     <dependencies>
>>>>>>>>>         <dependency>
>>>>>>>>>             <groupId>org.apereo.cas</groupId>
>>>>>>>>>             <artifactId>cas-management-webapp</artifactId>
>>>>>>>>>             <version>${cas.version}</version>
>>>>>>>>>             <type>war</type>
>>>>>>>>>         </dependency>
>>>>>>>>>     <dependency>
>>>>>>>>>           <groupId>org.apereo.cas</groupId>
>>>>>>>>>           <artifactId>cas-management-webapp-support-ldap
>>>>>>>>> </artifactId>
>>>>>>>>>           <version>${cas.version}</version>
>>>>>>>>>     </dependency>
>>>>>>>>>     <dependency>
>>>>>>>>>             <groupId>org.apereo.cas</groupId>
>>>>>>>>>             <artifactId>cas-server-support-json-service-registry</
>>>>>>>>> artifactId>
>>>>>>>>>             <version>${cas.version}</version>
>>>>>>>>>     </dependency>
>>>>>>>>>     </dependencies>
>>>>>>>>>
>>>>>>>>>     <properties>
>>>>>>>>>         <cas.version>5.2.2</cas.version>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> So i made my settings and i got on the cas-management web-page «
>>>>>>>>> The administrative application of CAS is not available» but i'm 
>>>>>>>>> getting the
>>>>>>>>> favicon and the CSS right.
>>>>>>>>> When i looked up into the GET which is being done during the
>>>>>>>>> request i found out a request to :
>>>>>>>>> https://YXXXXXXXXX/cas/login?service=https://localhost:8444/
>>>>>>>>> cas-management/manage.html
>>>>>>>>>
>>>>>>>>> It doesn't make sense to me why i still getting this url as i make
>>>>>>>>> my configuration of the cas-management on a management.properties 
>>>>>>>>> like this.
>>>>>>>>> server.port=8444
>>>>>>>>> server.contextPath=/cas-management
>>>>>>>>>
>>>>>>>>> cas.mgmt.adminRoles[0]=ROLE_ADMIN
>>>>>>>>> cas.mgmt.adminRoles[1]=ROLE_SUPER_USER
>>>>>>>>>
>>>>>>>>> # cas.mgmt.userPropertiesFile=classpath:/user-details.[json|yml]
>>>>>>>>> # cas.mgmt.userPropertiesFile=classpath:/user-details.properties
>>>>>>>>>
>>>>>>>>> cas.mgmt.serverName=https://sso.libre-cloud.org
>>>>>>>>> cas.mgmt.defaultLocale=en
>>>>>>>>>
>>>>>>>>> cas.mgmt.authzAttributes[0]=memberOf
>>>>>>>>> cas.mgmt.authzAttributes[1]=groupMembership
>>>>>>>>>
>>>>>>>>> # Connect to a CAS server for authentication
>>>>>>>>> cas.server.name=https://yyyyyyyyyyyyyyyyyyyyyyyyy
>>>>>>>>> #cas.server.prefix=
>>>>>>>>>
>>>>>>>>> # Use regex for authorized IPs
>>>>>>>>> #cas.mgmt.authzIpRegex=
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> My current thought is that i should have anothe port open through
>>>>>>>>> the tomcat in order to serve the request on the port 8444 (then 
>>>>>>>>> behind any
>>>>>>>>> proxy that i want) but i don't understand where do the «localhost» 
>>>>>>>>> pop out.
>>>>>>>>>
>>>>>>>>> I hope that i  precise enough with my explanations.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> - 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/6e48
>>>>>>>>> da90-17a8-4f38-8abb-6915431ddb0c%40apereo.org
>>>>>>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-6915431ddb0c%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/c0b2
>>>>>>> e961-ed6d-415b-9fd2-f9230124eacc%40apereo.org
>>>>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/c0b2e961-ed6d-415b-9fd2-f9230124eacc%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/CAMY
>>>>>> 5mie_PpdY-vm%2BL51LZ%2BmMdHCDsK9Fq4svKAwFEY8fW4BEZw%40mail.gmail.com
>>>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMY5mie_PpdY-vm%2BL51LZ%2BmMdHCDsK9Fq4svKAwFEY8fW4BEZw%40mail.gmail.com?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/CA%
>>>>> 2B0%3DdmCU_azTa1PthzV5Eq_sUfRGYzxiiXhiK0%2BzQhCtr1EuVQ%40mai
>>>>> l.gmail.com
>>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2B0%3DdmCU_azTa1PthzV5Eq_sUfRGYzxiiXhiK0%2BzQhCtr1EuVQ%40mail.gmail.com?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/ap
>>> ereo.org/d/msgid/cas-user/0539fc40-a46a-4121-b4ea-fdf1c06000
>>> b7%40apereo.org
>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/0539fc40-a46a-4121-b4ea-fdf1c06000b7%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/0628a2df-acec-4384-a525-
> e39b15ba3a6f%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/0628a2df-acec-4384-a525-e39b15ba3a6f%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/CAMY5mifWQOjn1JY1u5921yfNU%2B5AEj2s1nzwp5vwMh-OLV7VSw%40mail.gmail.com.

Reply via email to