Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-12 Thread William E.
I see you pom.xml has ldap module, but I do not see you ldap properties.  
Did I miss it?  Sorry if so.

The log makes me think cas is trying to do an ldap lookup and all of the 
properties it needs are not defined.  Do you have all of these in you 
cas.properties?

# Authentication
cas.authn.ldap[0].type=AUTHENTICATED
cas.authn.ldap[0].ldapUrl=ldaps://ldap.example.edu:636
cas.authn.ldap[0].useSsl=true
cas.authn.ldap[0].baseDn=ou=People,dc=uah,dc=edu
cas.authn.ldap[0].userFilter=uid={user}
cas.authn.ldap[0].bindDn=uid=cas,ou=people,dc=example,dc=edu
cas.authn.ldap[0].bindCredential=

# Attribute resolution
cas.authn.attributeRepository.ldap[0].order=0
cas.authn.attributeRepository.ldap[0].ldapUrl=ldaps://ldap.example.edu:636
cas.authn.attributeRepository.ldap[0].useSsl=true
cas.authn.attributeRepository.ldap[0].useStartTls=false
cas.authn.attributeRepository.ldap[0].baseDn=ou=People,dc=example,dc=edu
cas.authn.attributeRepository.ldap[0].bindDn=uid=cas,ou=People,dc=example,dc=edu
cas.authn.attributeRepository.ldap[0].bindCredential=
cas.authn.attributeRepository.ldap[0].userFilter=uid={user}
#
cas.authn.attributeRepository.ldap[0].attributes.uid=uid
cas.authn.attributeRepository.ldap[0].attributes.ou=ou
cas.authn.attributeRepository.ldap[0].attributes.o=o
cas.authn.attributeRepository.ldap[0].attributes.displayName=displayName
cas.authn.attributeRepository.ldap[0].attributes.cn=cn
cas.authn.attributeRepository.ldap[0].attributes.mail=mail
.


-W


On Thursday, April 12, 2018 at 3:32:55 AM UTC-5, Olivier Calzi wrote:
>
> Hi William,
>
> As i showed in my configuration on my first post i have the same ldap 
> configuration on the management.properties and the cas.properties.
> What do you mean exactly ?
>
> Thanks
>
> On Thursday, April 12, 2018 at 4:23:36 AM UTC+2, William E. wrote:
>>
>> This makes me think you have a bad ldap search filter in your .properties 
>> file, or maybe ldap support partially configured.
>>
>> Caused by: java.lang.NullPointerException
>> at 
>> org.apereo.cas.util.LdapUtils.lambda$newLdaptiveSearchFilter$2(LdapUtils.java:531)
>>  
>> ~[cas-server-support-ldap-core-5.2.2.jar:5.2.2]
>>
>>
>>
>> On Monday, April 9, 2018 at 2:05:47 AM UTC-5, Olivier Calzi wrote:
>>>
>>> Hi,
>>>
>>> No as it's behind an haproxy i'm using the 443.
>>>
>>> Here you will find more logs who may have the lost key to this problem.
>>>
 2018-04-09 08:54:00,851 ERROR 
 [org.apereo.cas.mgmt.services.web.AbstractManagementController] - 
 
 org.pac4j.core.exception.TechnicalException: 
 java.lang.NullPointerException
 at 
 org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:168)
  
 ~[pac4j-core-2.2.0.jar:?]
 at 
 org.pac4j.springframework.web.SecurityInterceptor.preHandle(SecurityInterceptor.java:65)
  
 ~[spring-webmvc-pac4j-2.0.0.jar:?]
 at 
 org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:133)
  
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at 
 org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:962)
  
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at 
 org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
  
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at 
 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
  
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at 
 org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
  
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) 
 ~[servlet-api-3.1.jar:?]
 at 
 org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
  
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) 
 ~[servlet-api-3.1.jar:?]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
  
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at 
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 
 ~[tomcat8-websocket-8.5.14.jar:8.5.14]
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at 
 org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(Applic

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-12 Thread Cristina Vlaicu
Hghj the same time and 4vn nu cum e bine hahaha ttdt

On Thu, Apr 12, 2018, 11:32 Olivier Calzi  wrote:

> Hi William,
>
> As i showed in my configuration on my first post i have the same ldap
> configuration on the management.properties and the cas.properties.
> What do you mean exactly ?
>
> Thanks
>
> On Thursday, April 12, 2018 at 4:23:36 AM UTC+2, William E. wrote:
>>
>> This makes me think you have a bad ldap search filter in your .properties
>> file, or maybe ldap support partially configured.
>>
>> Caused by: java.lang.NullPointerException
>> at
>> org.apereo.cas.util.LdapUtils.lambda$newLdaptiveSearchFilter$2(LdapUtils.java:531)
>> ~[cas-server-support-ldap-core-5.2.2.jar:5.2.2]
>>
>>
>>
>> On Monday, April 9, 2018 at 2:05:47 AM UTC-5, Olivier Calzi wrote:
>>>
>>> Hi,
>>>
>>> No as it's behind an haproxy i'm using the 443.
>>>
>>> Here you will find more logs who may have the lost key to this problem.
>>>
 2018-04-09 08:54:00,851 ERROR
 [org.apereo.cas.mgmt.services.web.AbstractManagementController] -
 
 org.pac4j.core.exception.TechnicalException:
 java.lang.NullPointerException
 at
 org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:168)
 ~[pac4j-core-2.2.0.jar:?]
 at
 org.pac4j.springframework.web.SecurityInterceptor.preHandle(SecurityInterceptor.java:65)
 ~[spring-webmvc-pac4j-2.0.0.jar:?]
 at
 org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:133)
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at
 org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:962)
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at
 org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at
 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at
 org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
 ~[servlet-api-3.1.jar:?]
 at
 org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
 ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
 ~[servlet-api-3.1.jar:?]
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 ~[tomcat8-websocket-8.5.14.jar:8.5.14]
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at
 org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
 ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
 at
 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at
 org.apereo.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:66)
 ~[inspektr-common-1.8.0.GA.jar:1.8.0.GA]
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at
 org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
 ~[spring-boot-actuator-1.5.8.RELEASE.jar:1.5.8.RELEASE]
 at
 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 ~[tomcat8-catalina-8.5.14.jar:8.5.14]
 at
 or

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-12 Thread Olivier Calzi
Hi William,

As i showed in my configuration on my first post i have the same ldap 
configuration on the management.properties and the cas.properties.
What do you mean exactly ?

Thanks

On Thursday, April 12, 2018 at 4:23:36 AM UTC+2, William E. wrote:
>
> This makes me think you have a bad ldap search filter in your .properties 
> file, or maybe ldap support partially configured.
>
> Caused by: java.lang.NullPointerException
> at 
> org.apereo.cas.util.LdapUtils.lambda$newLdaptiveSearchFilter$2(LdapUtils.java:531)
>  
> ~[cas-server-support-ldap-core-5.2.2.jar:5.2.2]
>
>
>
> On Monday, April 9, 2018 at 2:05:47 AM UTC-5, Olivier Calzi wrote:
>>
>> Hi,
>>
>> No as it's behind an haproxy i'm using the 443.
>>
>> Here you will find more logs who may have the lost key to this problem.
>>
>>> 2018-04-09 08:54:00,851 ERROR 
>>> [org.apereo.cas.mgmt.services.web.AbstractManagementController] - 
>>> 
>>> org.pac4j.core.exception.TechnicalException: 
>>> java.lang.NullPointerException
>>> at 
>>> org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:168)
>>>  
>>> ~[pac4j-core-2.2.0.jar:?]
>>> at 
>>> org.pac4j.springframework.web.SecurityInterceptor.preHandle(SecurityInterceptor.java:65)
>>>  
>>> ~[spring-webmvc-pac4j-2.0.0.jar:?]
>>> at 
>>> org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:133)
>>>  
>>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>> at 
>>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:962)
>>>  
>>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>> at 
>>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
>>>  
>>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>> at 
>>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
>>>  
>>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>> at 
>>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
>>>  
>>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) 
>>> ~[servlet-api-3.1.jar:?]
>>> at 
>>> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
>>>  
>>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) 
>>> ~[servlet-api-3.1.jar:?]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>>>  
>>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>  
>>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>>> at 
>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 
>>> ~[tomcat8-websocket-8.5.14.jar:8.5.14]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>  
>>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>  
>>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>>> at 
>>> org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
>>>  
>>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>> at 
>>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>>>  
>>> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>  
>>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>  
>>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>>> at 
>>> org.apereo.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:66)
>>>  
>>> ~[inspektr-common-1.8.0.GA.jar:1.8.0.GA]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>  
>>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>  
>>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>>> at 
>>> org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
>>>  
>>> ~[spring-boot-actuator-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>>> at 
>>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>>>  
>>> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>  
>>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>>> at 
>>> org.apache.catalina.core.ApplicationFilterChain.doFi

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-11 Thread William E.
This makes me think you have a bad ldap search filter in your .properties 
file, or maybe ldap support partially configured.

Caused by: java.lang.NullPointerException
at 
org.apereo.cas.util.LdapUtils.lambda$newLdaptiveSearchFilter$2(LdapUtils.java:531)
 
~[cas-server-support-ldap-core-5.2.2.jar:5.2.2]



On Monday, April 9, 2018 at 2:05:47 AM UTC-5, Olivier Calzi wrote:
>
> Hi,
>
> No as it's behind an haproxy i'm using the 443.
>
> Here you will find more logs who may have the lost key to this problem.
>
>> 2018-04-09 08:54:00,851 ERROR 
>> [org.apereo.cas.mgmt.services.web.AbstractManagementController] - 
>> 
>> org.pac4j.core.exception.TechnicalException: 
>> java.lang.NullPointerException
>> at 
>> org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:168)
>>  
>> ~[pac4j-core-2.2.0.jar:?]
>> at 
>> org.pac4j.springframework.web.SecurityInterceptor.preHandle(SecurityInterceptor.java:65)
>>  
>> ~[spring-webmvc-pac4j-2.0.0.jar:?]
>> at 
>> org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:133)
>>  
>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>> at 
>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:962)
>>  
>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>> at 
>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
>>  
>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>> at 
>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
>>  
>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>> at 
>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
>>  
>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) 
>> ~[servlet-api-3.1.jar:?]
>> at 
>> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
>>  
>> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) 
>> ~[servlet-api-3.1.jar:?]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 
>> ~[tomcat8-websocket-8.5.14.jar:8.5.14]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
>>  
>> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>> at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>>  
>> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.apereo.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:66)
>>  
>> ~[inspektr-common-1.8.0.GA.jar:1.8.0.GA]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
>>  
>> ~[spring-boot-actuator-1.5.8.RELEASE.jar:1.5.8.RELEASE]
>> at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>>  
>> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>  
>> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
>> at 
>> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
>>  
>> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
>> at 
>> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>>  
>> ~[spring-web-4.3.1

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-09 Thread Olivier Calzi
Hi,

No as it's behind an haproxy i'm using the 443.

Here you will find more logs who may have the lost key to this problem.

> 2018-04-09 08:54:00,851 ERROR
> [org.apereo.cas.mgmt.services.web.AbstractManagementController] -
> 
> org.pac4j.core.exception.TechnicalException: java.lang.NullPointerException
> at
> org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:168)
> ~[pac4j-core-2.2.0.jar:?]
> at
> org.pac4j.springframework.web.SecurityInterceptor.preHandle(SecurityInterceptor.java:65)
> ~[spring-webmvc-pac4j-2.0.0.jar:?]
> at
> org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:133)
> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:962)
> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
> ~[servlet-api-3.1.jar:?]
> at
> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
> ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
> ~[servlet-api-3.1.jar:?]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> ~[tomcat8-websocket-8.5.14.jar:8.5.14]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
> ~[spring-boot-1.5.8.RELEASE.jar:1.5.8.RELEASE]
> at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.apereo.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:66)
> ~[inspektr-common-1.8.0.GA.jar:1.8.0.GA]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
> ~[spring-boot-actuator-1.5.8.RELEASE.jar:1.5.8.RELEASE]
> at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> ~[tomcat8-catalina-8.5.14.jar:8.5.14]
> at
> org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
> at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> ~[spring-web-4.3.12.RELEASE.jar:4.3.12.REL

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Man H
do you type https://so..xy:8444/cas-management in your browser

2018-04-08 18:04 GMT-03:00 Olivier Calzi :

> As it's behind an haproxy i expected it to be the true url lie
> sso..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 
>> 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 
 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  a écrit :
>
>> Sorry forget last answers.
>>
>> Which folder are your management.properties?
>>
>> El domingo, 8 de abril de 2018, Olivier Calzi 
>> 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 
 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
> 5.2.2
>
> 
>  org.apereo.cas
> cas-server-support-json-service-registry artifactId>
> ${cas.version}
> 
> 
>   org.apereo.cas
>   cas-server-support-pm-ldap
>   ${cas.version}
> 
> 
>   org.apereo.cas
>   cas-server-support-ldap
>   ${cas.version}
> 
>
> On the cas-management pom.ml
> 
> 
> org.apereo.cas
> cas-management-webapp
> ${cas.version}
> war
> 
> 
>   org.apereo.cas
>   cas-management-webapp-support-ldap
> 
>   ${cas.version}
> 
> 
> org.apereo.cas
> cas-server-support-json-service-registry artifactId>
> ${cas.version}
> 
> 
>
> 
> 5.2.2
>
>
> 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://YX/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://y
> #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

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Olivier Calzi
As it's behind an haproxy i expected it to be the true url lie 
sso..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  > 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  
>>> 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  a écrit :

> Sorry forget last answers.
>
> Which folder are your management.properties?
>
> El domingo, 8 de abril de 2018, Olivier Calzi  
> 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/Configuration-Properties.html#management-webapp
>>>
>>> El domingo, 8 de abril de 2018, Olivier Calzi  
>>> 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
 5.2.2

 
  org.apereo.cas
 cas-server-support-json-service-registry
 
 ${cas.version}
 
 
   org.apereo.cas
   cas-server-support-pm-ldap
   ${cas.version}
 
 
   org.apereo.cas
   cas-server-support-ldap
   ${cas.version}
 

 On the cas-management pom.ml
 
 
 org.apereo.cas
 cas-management-webapp
 ${cas.version}
 war
 
 
   org.apereo.cas
   cas-management-webapp-support-ldap
 
   ${cas.version}
 
 
 org.apereo.cas
 cas-server-support-json-service-registry
 
 ${cas.version}
 
 

 
 5.2.2


 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://YX/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://y
 #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, 
>>

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Man H
What do you expect you url to be.
What do you type con browser

El domingo, 8 de abril de 2018, Olivier Calzi 
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 
>> 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  a écrit :
>>>
 Sorry forget last answers.

 Which folder are your management.properties?

 El domingo, 8 de abril de 2018, Olivier Calzi 
 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 
>> 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
>>> 5.2.2
>>>
>>> 
>>>  org.apereo.cas
>>> cas-server-support-json-service-registry>> artifactId>
>>> ${cas.version}
>>> 
>>> 
>>>   org.apereo.cas
>>>   cas-server-support-pm-ldap
>>>   ${cas.version}
>>> 
>>> 
>>>   org.apereo.cas
>>>   cas-server-support-ldap
>>>   ${cas.version}
>>> 
>>>
>>> On the cas-management pom.ml
>>> 
>>> 
>>> org.apereo.cas
>>> cas-management-webapp
>>> ${cas.version}
>>> war
>>> 
>>> 
>>>   org.apereo.cas
>>>   cas-management-webapp-support-ldap
>>> 
>>>   ${cas.version}
>>> 
>>> 
>>> org.apereo.cas
>>> cas-server-support-json-service-registry>> artifactId>
>>> ${cas.version}
>>> 
>>> 
>>>
>>> 
>>> 5.2.2
>>>
>>>
>>> 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://YX/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://y
>>> #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 cas-user+u...@apereo.org.
>>> 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
>>> 

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Olivier Calzi
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  > 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 > a 
>> écrit :
>>
>>> Sorry forget last answers.
>>>
>>> Which folder are your management.properties?
>>>
>>> El domingo, 8 de abril de 2018, Olivier Calzi >> > 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/Configuration-Properties.html#management-webapp
>
> El domingo, 8 de abril de 2018, Olivier Calzi  
> 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
>> 5.2.2
>>
>> 
>>  org.apereo.cas
>> cas-server-support-json-service-registry
>> 
>> ${cas.version}
>> 
>> 
>>   org.apereo.cas
>>   cas-server-support-pm-ldap
>>   ${cas.version}
>> 
>> 
>>   org.apereo.cas
>>   cas-server-support-ldap
>>   ${cas.version}
>> 
>>
>> On the cas-management pom.ml
>> 
>> 
>> org.apereo.cas
>> cas-management-webapp
>> ${cas.version}
>> war
>> 
>> 
>>   org.apereo.cas
>>   cas-management-webapp-support-ldap
>>   ${cas.version}
>> 
>> 
>> org.apereo.cas
>> cas-server-support-json-service-registry
>> 
>> ${cas.version}
>> 
>> 
>>
>> 
>> 5.2.2
>>
>>
>> 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://YX/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://y
>> #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 cas-user+u...@apereo.org.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-6915431ddb0c%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 

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Man H
I dont see any problem with the url you get.
What do you expect

El domingo, 8 de abril de 2018, Olivier Calzi 
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  a écrit :
>
>> Sorry forget last answers.
>>
>> Which folder are your management.properties?
>>
>> El domingo, 8 de abril de 2018, Olivier Calzi 
>> 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/
 Configuration-Properties.html#management-webapp

 El domingo, 8 de abril de 2018, Olivier Calzi 
 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
> 5.2.2
>
> 
>  org.apereo.cas
> cas-server-support-json-service-registry<
> /artifactId>
> ${cas.version}
> 
> 
>   org.apereo.cas
>   cas-server-support-pm-ldap
>   ${cas.version}
> 
> 
>   org.apereo.cas
>   cas-server-support-ldap
>   ${cas.version}
> 
>
> On the cas-management pom.ml
> 
> 
> org.apereo.cas
> cas-management-webapp
> ${cas.version}
> war
> 
> 
>   org.apereo.cas
>   cas-management-webapp-support-ldap
>   ${cas.version}
> 
> 
> org.apereo.cas
> cas-server-support-json-service-registry<
> /artifactId>
> ${cas.version}
> 
> 
>
> 
> 5.2.2
>
>
> 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://YX/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://y
> #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 cas-user+u...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-
> 6915431ddb0c%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/c0b2e961-ed6d-415b-9fd2-
>>> f9230124eacc%40apereo.org
>>> 

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Olivier Calzi
Hi,

No problem.

My folder is : /etc/cas/config
The file is named management.properties



Le dim. 8 avr. 2018 à 18:11, Man H  a écrit :

> Sorry forget last answers.
>
> Which folder are your management.properties?
>
> El domingo, 8 de abril de 2018, Olivier Calzi 
> 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/Configuration-Properties.html#management-webapp
>>>
>>> El domingo, 8 de abril de 2018, Olivier Calzi 
>>> 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
 5.2.2

 
  org.apereo.cas
 cas-server-support-json-service-registry
 
 ${cas.version}
 
 
   org.apereo.cas
   cas-server-support-pm-ldap
   ${cas.version}
 
 
   org.apereo.cas
   cas-server-support-ldap
   ${cas.version}
 

 On the cas-management pom.ml
 
 
 org.apereo.cas
 cas-management-webapp
 ${cas.version}
 war
 
 
   org.apereo.cas
   cas-management-webapp-support-ldap
   ${cas.version}
 
 
 org.apereo.cas
 cas-server-support-json-service-registry
 
 ${cas.version}
 
 

 
 5.2.2


 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://YX/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://y
 #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 cas-user+u...@apereo.org.
 To view this discussion on the web visit
 https://groups.google.com/a/apereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-6915431ddb0c%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/c0b2e961-ed6d-415b-9fd2-f9230124eacc%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 rece

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Man H
Sorry forget last answers.

Which folder are your management.properties?

El domingo, 8 de abril de 2018, Olivier Calzi 
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 
>> 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
>>> 5.2.2
>>>
>>> 
>>>  org.apereo.cas
>>> cas-server-support-json-service-registry>> artifactId>
>>> ${cas.version}
>>> 
>>> 
>>>   org.apereo.cas
>>>   cas-server-support-pm-ldap
>>>   ${cas.version}
>>> 
>>> 
>>>   org.apereo.cas
>>>   cas-server-support-ldap
>>>   ${cas.version}
>>> 
>>>
>>> On the cas-management pom.ml
>>> 
>>> 
>>> org.apereo.cas
>>> cas-management-webapp
>>> ${cas.version}
>>> war
>>> 
>>> 
>>>   org.apereo.cas
>>>   cas-management-webapp-support-ldap
>>>   ${cas.version}
>>> 
>>> 
>>> org.apereo.cas
>>> cas-server-support-json-service-registry>> artifactId>
>>> ${cas.version}
>>> 
>>> 
>>>
>>> 
>>> 5.2.2
>>>
>>>
>>> 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://YX/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://y
>>> #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 cas-user+u...@apereo.org.
>>> To view this discussion on the web visit https://groups.google.com/a/ap
>>> ereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-6915431ddb
>>> 0c%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/c0b2e961-ed6d-415b-9fd2-
> f9230124eacc%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

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Man H
I dont see them in that post

El domingo, 8 de abril de 2018, Olivier Calzi 
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 
>> 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
>>> 5.2.2
>>>
>>> 
>>>  org.apereo.cas
>>> cas-server-support-json-service-registry>> artifactId>
>>> ${cas.version}
>>> 
>>> 
>>>   org.apereo.cas
>>>   cas-server-support-pm-ldap
>>>   ${cas.version}
>>> 
>>> 
>>>   org.apereo.cas
>>>   cas-server-support-ldap
>>>   ${cas.version}
>>> 
>>>
>>> On the cas-management pom.ml
>>> 
>>> 
>>> org.apereo.cas
>>> cas-management-webapp
>>> ${cas.version}
>>> war
>>> 
>>> 
>>>   org.apereo.cas
>>>   cas-management-webapp-support-ldap
>>>   ${cas.version}
>>> 
>>> 
>>> org.apereo.cas
>>> cas-server-support-json-service-registry>> artifactId>
>>> ${cas.version}
>>> 
>>> 
>>>
>>> 
>>> 5.2.2
>>>
>>>
>>> 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://YX/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://y
>>> #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 cas-user+u...@apereo.org.
>>> To view this discussion on the web visit https://groups.google.com/a/ap
>>> ereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-6915431ddb
>>> 0c%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/c0b2e961-ed6d-415b-9fd2-
> f9230124eacc%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/CAMY5micx

Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Olivier Calzi
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/Configuration-Properties.html#management-webapp
>
> El domingo, 8 de abril de 2018, Olivier Calzi  > 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
>> 5.2.2
>>
>> 
>>  org.apereo.cas
>> cas-server-support-json-service-registry
>> ${cas.version}
>> 
>> 
>>   org.apereo.cas
>>   cas-server-support-pm-ldap
>>   ${cas.version}
>> 
>> 
>>   org.apereo.cas
>>   cas-server-support-ldap
>>   ${cas.version}
>> 
>>
>> On the cas-management pom.ml
>> 
>> 
>> org.apereo.cas
>> cas-management-webapp
>> ${cas.version}
>> war
>> 
>> 
>>   org.apereo.cas
>>   cas-management-webapp-support-ldap
>>   ${cas.version}
>> 
>> 
>> org.apereo.cas
>> cas-server-support-json-service-registry
>> 
>> ${cas.version}
>> 
>> 
>>
>> 
>> 5.2.2
>>
>>
>> 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://YX/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://y
>> #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 cas-user+u...@apereo.org .
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-6915431ddb0c%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/c0b2e961-ed6d-415b-9fd2-f9230124eacc%40apereo.org.


Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Man H
https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html#management-webapp

El domingo, 8 de abril de 2018, Olivier Calzi 
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
> 5.2.2
>
> 
>  org.apereo.cas
> cas-server-support-json-service-registry
> ${cas.version}
> 
> 
>   org.apereo.cas
>   cas-server-support-pm-ldap
>   ${cas.version}
> 
> 
>   org.apereo.cas
>   cas-server-support-ldap
>   ${cas.version}
> 
>
> On the cas-management pom.ml
> 
> 
> org.apereo.cas
> cas-management-webapp
> ${cas.version}
> war
> 
> 
>   org.apereo.cas
>   cas-management-webapp-support-ldap
>   ${cas.version}
> 
> 
> org.apereo.cas
> cas-server-support-json-service-registry<
> /artifactId>
> ${cas.version}
> 
> 
>
> 
> 5.2.2
>
>
> 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://YX/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://y
> #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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-
> 6915431ddb0c%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/CAMY5midgiF3qZKPKjZKGJVHAr_fWZzHCa%3DPZx0quO_A-QorasA%40mail.gmail.com.


Re: [cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Man H
In cas.properties

cas.mgmt.serverName=https://locahost:8444

El domingo, 8 de abril de 2018, Olivier Calzi 
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
> 5.2.2
>
> 
>  org.apereo.cas
> cas-server-support-json-service-registry
> ${cas.version}
> 
> 
>   org.apereo.cas
>   cas-server-support-pm-ldap
>   ${cas.version}
> 
> 
>   org.apereo.cas
>   cas-server-support-ldap
>   ${cas.version}
> 
>
> On the cas-management pom.ml
> 
> 
> org.apereo.cas
> cas-management-webapp
> ${cas.version}
> war
> 
> 
>   org.apereo.cas
>   cas-management-webapp-support-ldap
>   ${cas.version}
> 
> 
> org.apereo.cas
> cas-server-support-json-service-registry<
> /artifactId>
> ${cas.version}
> 
> 
>
> 
> 5.2.2
>
>
> 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://YX/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://y
> #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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-
> 6915431ddb0c%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/CAMY5mida%3DCtwhLWDUoOkCgMGR9qHM6_XYkO1Ej_y8QUnHpGu0A%40mail.gmail.com.


[cas-user] CAS-Management - Bottle at the sea - Need advice or help

2018-04-08 Thread Olivier Calzi
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
5.2.2


 org.apereo.cas
cas-server-support-json-service-registry
${cas.version}


  org.apereo.cas
  cas-server-support-pm-ldap
  ${cas.version}


  org.apereo.cas
  cas-server-support-ldap
  ${cas.version}


On the cas-management pom.ml


org.apereo.cas
cas-management-webapp
${cas.version}
war


  org.apereo.cas
  cas-management-webapp-support-ldap
  ${cas.version}


org.apereo.cas
cas-server-support-json-service-registry

${cas.version}




5.2.2


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:
//YX/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://y
#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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6e48da90-17a8-4f38-8abb-6915431ddb0c%40apereo.org.