Re: [cas-user] Re: Loading different views depending on multiple domains

2017-12-08 Thread Ray Bon
Perhaps I am not fully understanding your situation.
If user goes to test1.domain.com the cas client there will redirect to 
sso.server.com/cas/login?service=test1.domain.com
test2.domain.com cas client will redirect to 
sso.server.com/cas/login?service=test2.domain.com

CAS will pick the right service and present the correct theme. If necessary you 
can turn logging for org.apereo to trace (set cas.log.level) to see what is 
happening.

Ray


On Fri, 2017-12-08 at 15:07 -0800, snaffy wrote:
But I can specify the serverName / service parameter at the application 
configuration stage and I do it. However, how can cas load different views 
since it will always be the same? (service parameter). I strive for the 
following situation:
when the user uses the https://test1.domain.com/WebApp address the standard 
login format will appear (authentication by the database)
{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^https://test1.domain.com/.*";,
  "name" : "JDBC",
  "id" : 1003,
  "description" : "Standard authentication method for users",
  "evaluationOrder" : 51,
  "requiredHandlers" : [ "java.util.HashSet", [ 
"QueryAndEncodeDatabaseAuthenticationHandler" ] ],
  "theme" : "apereo"
}

while by address https://test2.domain.com/WebApp the button with authentication 
by SAML protocol will appear

{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^https://test2.domain.com/.*";,
  "name" : "SAML",
  "id" : 1002,
  "description" : "SAML services",
  "evaluationOrder" : 50,
  "attributeReleasePolicy" : {
"@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy"
  },
  "theme" : "customsaml"
}


--
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

-- 
- 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/1512783907.1769.94.camel%40uvic.ca.


[cas-user] Re: Loading different views depending on multiple domains

2017-12-08 Thread snaffy
But I can specify the serverName / service parameter at the application 
configuration stage and I do it. However, how can cas load different views 
since it will always be the same? (service parameter). I strive for the 
following situation:
when the user uses the https://test1.domain.com/WebApp address the standard 
login format will appear (authentication by the database)
{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^https://test1.domain.com/.*";,
  "name" : "JDBC",
  "id" : 1003,
  "description" : "Standard authentication method for users",
  "evaluationOrder" : 51,
  "requiredHandlers" : [ "java.util.HashSet", [ 
"QueryAndEncodeDatabaseAuthenticationHandler" ] ],
  "theme" : "apereo"
}

while by address https://test2.domain.com/WebApp the button with 
authentication by SAML protocol will appear

{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^https://test2.domain.com/.*";,
  "name" : "SAML",
  "id" : 1002,
  "description" : "SAML services",
  "evaluationOrder" : 50,
  "attributeReleasePolicy" : {
"@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy"
  },
  "theme" : "customsaml"
}

-- 
- 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/bcf3a885-6aa7-46bb-ac81-cf1244327013%40apereo.org.


Re: [cas-user] Loading different views depending on multiple domains

2017-12-08 Thread Ray Bon
If you can not deploy WebApp with the serverName set, you should be able to set 
the variable for cas.service.host when you start glassfish.
Something like (I do not know glassfish):

glassfishstartupscrip.sh -Dcas.service.host=test1.domain.com

You may be able to put the variable in the glassfish startup script or some 
other glassfish config file.

A note about your virtual host config. ProxyPass and ProxyPassReverse need to 
have a trailing /
ProxyPass / http://test1.domain.com:8081/WebApp/

Ray

On Fri, 2017-12-08 at 13:54 -0800, snaffy wrote:
I do not really understand how it could help me.
Both domains through apache2 proxy configuration point to the same application 
- WebApp (specifically, they refer to the appropriate glassfish virtual servers 
and the application uses them). The problem is that serverName is a parameter 
related to the application (cas client) and I can not set it dynamically 
depending on what domain the user is using.

If the cas client (WebApp) configuration looks like:


https://test1.domain.com"/>


then, going to the application using the test1.domain.com domain, the service 
parameter will look like this:
https://sso.server.com/cas/login?service=https%3A%2F%2Ftest1.domain.com%2FUtilimarcWebUI%2F
Going to the application using the test2.domain.com domain, the service 
parameter will look like the following:
https://sso.server.com/cas/login?service=https%3A%2F%2Ftest1.domain.com%2FUtilimarcWebUI%2F
 - the same template will always be loaded.

I can also directly specify the address of the service parameter




https://test2.domain.com/casclient"; />

-- > 
https://sso.server.com/cas/login?service=https%3A%2F%2Ftest2.domain.com%casclient%2F

So my problem comes down to questions how to determine the service parameter in 
a dynamic way? Depending on the domain that the user went through?

W dniu czwartek, 7 grudnia 2017 18:38:52 UTC+1 użytkownik rbon napisał:
You can set the serverName parameter to the value you need 
test1.domain.com instead of localhost.
This you should be able to do in the glassfish server (in tomcat do this in 
$TOMCAT_HOME/bin/setenv.sh).

CATALINA_OPTS="$CATALINA_OPTS 
-Dcas.service.host=test1.domain.com"
export CATALINA_OPTS

If test1 and test2 are serving the same content (apache as load balancer), then 
set serverName to the name of the apache server (and configure apache as a load 
balancer instead of two separate virtual hosts).

Ray

On Thu, 2017-12-07 at 05:04 -0800, snaffy wrote:
How to load different views based on the domains if the client application is 
behind the apache2 proxy. Going to details - CAS client configuration requires 
"serverName" parameter.
"The name of the server this application is hosted on. Service URL will be 
dynamically constructed using this, i.e. https://localhost:8443 (you must 
include the protocol, but port is optional if it's a standard port)."). Based 
on it and the relevant service registers, CAS can decide which template to load.
However, my problem comes down to the question of how to load the right view 
when I am using apache2 and virtual glassfish servers.



ServerName test1.domain.com

ProxyPass /WebApp http://test1.domain.com:8081/WebApp
ProxyPassReverse /WebApp http://test1.domain.com:8081/WebApp
ProxyPass / http://test1.domain.com:8081/WebApp
ProxyPassReverse / http://test1.domain.com:8081/WebApp

ProxyPreserveHost On
ProxyTimeout 1500
SetEnv   force-proxy-request-1.0 1
SetEnv   proxy-nokeepalive   1
SetEnv proxy-initial-not-pooled 1

RewriteEngine On
RewriteCond /var/www/maintenance.html -f
RewriteCond %{REQUEST_FILENAME} !/maintenance.html
RewriteRule ^.*$/var/www/maintenance.html [L]




ServerName test2.domain.com

ProxyPass /WebApp http://test2.domain.com:8081/WebApp
ProxyPassReverse /WebApp http://test2.domain.com:8081/WebApp
ProxyPass / http://test2.domain.com:8081/WebApp
ProxyPassReverse / http://test2.domain.com:8081/WebApp

ProxyPreserveHost On
ProxyTimeout 1500
SetEnv   force-proxy-request-1.0 1
SetEnv   proxy-nokeepalive   1
SetEnv proxy-initial-not-pooled 1

RewriteEngine On
RewriteCond /var/www/maintenance.html -f
RewriteCond %{REQUEST_FILENAME} !/maintenance.html
RewriteRule ^.*$/var/www/maintenance.html [L]


Going to the application through the test1.domain.com, 
the service parameter will look like this
https://sso.server.com/cas/login?service=https%3A%2F%2Ftest1.domain.com%2FWebApp%2F
However, it will look the same with test2.domain.com, 
therefore, cas will not load different views because my client has a clearly 
defined only one ${cas.service.host}



https://${cas.service.host}"/>


Thanks in advance for your help, any suggestions are welcome.


Re: [cas-user] Loading different views depending on multiple domains

2017-12-08 Thread snaffy
I do not really understand how it could help me.
Both domains through apache2 proxy configuration point to the same 
application - WebApp (specifically, they refer to the appropriate glassfish 
virtual servers and the application uses them). The problem is that 
serverName is a parameter related to the application (cas client) and I can 
not set it dynamically depending on what domain the user is using. 

If the cas client (WebApp) configuration looks like:


https://test1.domain.com"/>


then, going to the application using the test1.domain.com domain, the 
service parameter will look like this:
https://sso.server.com/cas/login?service=https%3A%2F%2Ftest1.domain.com%2FUtilimarcWebUI%2F
Going to the application using the test2.domain.com domain, the service 
parameter will look like the following:
https://sso.server.com/cas/login?service=https%3A%2F%2Ftest1.domain.com%2FUtilimarcWebUI%2F
 
- the same template will always be loaded.

I can also directly specify the address of the service parameter




https://test2.domain.com/casclient"; />

-- > 
https://sso.server.com/cas/login?service=https%3A%2F%2Ftest2.domain.com%casclient%2F

So my problem comes down to questions how to determine the service 
parameter in a dynamic way? Depending on the domain that the user went 
through?

W dniu czwartek, 7 grudnia 2017 18:38:52 UTC+1 użytkownik rbon napisał:
>
> You can set the serverName parameter to the value you need 
> test1.domain.com instead of localhost.
> This you should be able to do in the glassfish server (in tomcat do this 
> in $TOMCAT_HOME/bin/setenv.sh).
>
> CATALINA_OPTS="$CATALINA_OPTS -Dcas.service.host=test1.domain.com"
> export CATALINA_OPTS
>
> If test1 and test2 are serving the same content (apache as load balancer), 
> then set serverName to the name of the apache server (and configure apache 
> as a load balancer instead of two separate virtual hosts).
>
> Ray
>
> On Thu, 2017-12-07 at 05:04 -0800, snaffy wrote:
>
> How to load different views based on the domains if the client application 
> is behind the apache2 proxy. Going to details - CAS client configuration 
> requires "serverName" parameter.
> "The name of the server this application is hosted on. Service URL will be 
> dynamically constructed using this, i.e. https://localhost:8443 (you must 
> include the protocol, but port is optional if it's a standard port)."). 
> Based on it and the relevant service registers, CAS can decide which 
> template to load.
> However, my problem comes down to the question of how to load the right 
> view when I am using apache2 and virtual glassfish servers. 
>
> 
>
> ServerName test1.domain.com
>
> ProxyPass /WebApp http://test1.domain.com:8081/WebApp
> ProxyPassReverse /WebApp http://test1.domain.com:8081/WebApp
> ProxyPass / http://test1.domain.com:8081/WebApp
> ProxyPassReverse / http://test1.domain.com:8081/WebApp
>
> ProxyPreserveHost On
> ProxyTimeout 1500
> SetEnv   force-proxy-request-1.0 1
> SetEnv   proxy-nokeepalive   1
> SetEnv proxy-initial-not-pooled 1
>
> RewriteEngine On
> RewriteCond /var/www/maintenance.html -f
> RewriteCond %{REQUEST_FILENAME} !/maintenance.html
> RewriteRule ^.*$/var/www/maintenance.html [L]
> 
>
> 
>
> ServerName test2.domain.com
>
> ProxyPass /WebApp http://test2.domain.com:8081/WebApp
> ProxyPassReverse /WebApp http://test2.domain.com:8081/WebApp
> ProxyPass / http://test2.domain.com:8081/WebApp
> ProxyPassReverse / http://test2.domain.com:8081/WebApp
>
> ProxyPreserveHost On
> ProxyTimeout 1500
> SetEnv   force-proxy-request-1.0 1
> SetEnv   proxy-nokeepalive   1
> SetEnv proxy-initial-not-pooled 1
> 
> RewriteEngine On
> RewriteCond /var/www/maintenance.html -f
> RewriteCond %{REQUEST_FILENAME} !/maintenance.html
> RewriteRule ^.*$/var/www/maintenance.html [L]
> 
>
> Going to the application through the test1.domain.com, the service 
> parameter will look like this
>
> https://sso.server.com/cas/login?service=https%3A%2F%2Ftest1.domain.com%2FWebApp%2F
> However, it will look the same with test2.domain.com, therefore, cas will 
> not load different views because my client has a clearly defined only one 
> ${cas.service.host}
>
>  class="org.jasig.cas.client.authentication.AuthenticationFilter">
>  value="${cas.server.host}/login"/>
> https://${cas.service.host}"/>
> 
>
> Thanks in advance for your help, any suggestions are welcome.
>
> -- 
> Ray Bon
> Programmer analyst
> Development Services, University Systems
> 2507218831 | CLE 019 | rb...@uvic.ca 
>
>

-- 
- 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 re

[cas-user] having difficulty with dependencies when upgrading to CAS 5.2.0

2017-12-08 Thread crdaudt
I am attempting to update from CAS 5.1.4 to 5.2.0 in our test environment, 
but am having dependency issues.  The maven build works without errors, but 
I receive the following WARN message in cas.log when I deploy and start 
tomcat:

2017-12-08 08:54:56,387 WARN 
[org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
 
- 

Then I receive an ERROR message that my Application startup failed.

I did not have these WARN and ERROR messages with v5.1.4.  I am not sure 
how to track this down.

Attached are the first 82 lines of my cas.log file, my pom.xml file for CAS 
5.2.0, and my working pom.xml file used to build CAS 5.1.4.

Any ideas?


-- 
- 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/81ff0b71-1ab9-4a9b-b17d-6ef3c79a64e7%40apereo.org.
2017-12-08 08:54:46,115 INFO 
[org.apereo.cas.configuration.config.CasCoreBootstrapStandaloneConfiguration] - 

2017-12-08 08:54:46,142 INFO 
[org.apereo.cas.configuration.config.CasCoreBootstrapStandaloneConfiguration] - 

2017-12-08 08:54:51,219 WARN 
[org.apereo.cas.config.CasCoreTicketsConfiguration] - 
2017-12-08 08:54:56,387 WARN 
[org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
 - 
2017-12-08 08:54:56,388 WARN 
[com.ryantenney.metrics.spring.config.annotation.MetricsConfigurerAdapter] - 

org.springframework.beans.factory.BeanCreationNotAllowedException: Error 
creating bean with name 'casMetricsConfiguration': Singleton bean creation not 
allowed while singletons of this factory are in destruction (Do not request a 
bean from a BeanFactory in a destroy method implementation!)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:216)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:345)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.cloud.context.scope.GenericScope$BeanLifecycleWrapper.getBean(GenericScope.java:359)
 ~[spring-cloud-context-1.2.4.RELEASE.jar:1.2.4.RELEASE]
at 
org.springframework.cloud.context.scope.GenericScope.get(GenericScope.java:176) 
~[spring-cloud-context-1.2.4.RELEASE.jar:1.2.4.RELEASE]
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:340)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
 ~[spring-beans-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:35)
 ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.getTarget(CglibAopProxy.java:705)
 ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
 ~[spring-aop-4.3.12.RELEASE.jar:4.3.12.RELEASE]
at 
com.codahale.metrics.MetricRegistry$$EnhancerBySpringCGLIB$$2ae62d57.removeListener()
 ~[metrics-core-3

[cas-user] CAS 5.1.1 Login Throttle logging

2017-12-08 Thread 'Mallory, Erik' via CAS Community
Hello,
When the Throttle Logging gets tripped I get the following log message.
2017-12-04 08:23:41,729 WARN 
[org.apereo.cas.web.support.AbstractThrottledSubmissionHandlerInterceptorAdapter]
 - 

I’m throttling based on username, our cas nodes are behind a loadbalancer, so 
the ip address isn’t of use.

I’ve configured our Nagios install to scrape the logs for this string to create 
an alert, so we can see how often our cas system is getting hit with some type 
of Brute Force attack.  I would like to know which accounts are being used for 
these attacks. How do I configure cas or log4j to write the a the account being 
throttled to the either the cas.log or cas_audit.log?


Erik Mallory
Server Analyst
Wichita State University
316.978.3502

-- 
- 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/8B8BA323-F395-45C1-AB4A-3E6FEA088C5F%40wichita.edu.


[cas-user] Authentication Attributes and RESTful Integrations

2017-12-08 Thread Sébastien Ragons
Hello All,
For my project I have to collect attributes (user roles)  from a rest 
webservice and add it to the principal sent by CAS to the CAS client.

The first element to configure is the RESTful Integrations but I dont 
understand how to configure CAS properties to request my webservice.
the documentation: 
https://apereo.github.io/cas/development/installation/Configuration-Properties-Common.html#restful-integrations
is not explicite enough.

The second element is to configure Authentication Attributes 
(https://apereo.github.io/cas/development/installation/Configuration-Properties.html#authentication-attributes).
But i dont know exactly what i have to do.

The roles of a user are retrieve this way from my webservice:
http://localhost:8000/roles/exem...@domain.com
{
"roles": [
{"id":1,
"name":"MEMBER" ,
"description":"Member role"
},
{"id":2,
"name":"USER"   ,
"description":"User Role"
}
]
}


Could you share exemple or experience about Authentication Attributes 
and/or rest datas integration to CAS ?
Thank you 
Sébastien


-- 
- 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/b3d57d61-dce1-45f1-907a-0ae9cb1fef33%40apereo.org.


Re: [cas-user] CAS Management - Loading

2017-12-08 Thread Jeffrey Ramsay
Travis,

I was able to resolve the issue based on your tip.

The manage.html file has the "server.context-path" hardcoded which is
different from what I configured in both the management.properties and
application.properties (server.context-path=/cas5-management) files.

@TC/webapps/cas5-management/WEB-INF/classes/dist/manage.html
tle>Services Management> services are functioning.
>>
>> [image: Inline image 1]
>> What can I do to resolve this? Anyone else experienced this.
>>
>> Thanks,
>> -Jeff
>>
>> --
>> - 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/CA%2BTBYOTningvhbkhismnKBmK%
>> 3DLY4cBmY-KEowGYeb%2BXXnKgG_A%40mail.gmail.com
>> 
>> .
>>
> --
> - 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/CAC_RtEa6uCOKi5kLkyi_8X9PNUkbOSb_
> vJgbkkEbhfp5jsU2Rg%40mail.gmail.com
> 
> .
>

-- 
- 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/CA%2BTBYOSbBaEjehVX1SaQMydnQLSF56m158FdbNfaix_q-3PDfA%40mail.gmail.com.


Re: [cas-user] CAS Management - Loading

2017-12-08 Thread Travis Schmidt
I am assuming this is version 5.2?  Can you open developer tools or
javascript console and see what if any errors are logged?

On Fri, Dec 8, 2017 at 6:49 AM Jeffrey Ramsay 
wrote:

> My cas management screen only display "Loading..." while all other
> services are functioning.
>
> [image: Inline image 1]
> What can I do to resolve this? Anyone else experienced this.
>
> Thanks,
> -Jeff
>
> --
> - 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/CA%2BTBYOTningvhbkhismnKBmK%3DLY4cBmY-KEowGYeb%2BXXnKgG_A%40mail.gmail.com
> 
> .
>

-- 
- 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/CAC_RtEa6uCOKi5kLkyi_8X9PNUkbOSb_vJgbkkEbhfp5jsU2Rg%40mail.gmail.com.


Re: [cas-user] cas-overlay 5.2 personalization

2017-12-08 Thread Jeffrey Ramsay
Thanks.

On Fri, Dec 8, 2017 at 2:17 AM, vallee.romain 
wrote:

> I spent a lot of time customizing the cas-overlay.
> I hope this structure can help some people.
>
> *src*
> └── *main*
> └── *resources*
> ├── cas_audit.log
> ├── cas.log
> ├── esig.properties
> ├── messages_fr.properties
> ├── messages.properties
> ├── perfStats.log
> ├── *services*
> ├── *static*
> │   └── *themes*
> │   └── *esig*
> │   ├── *css*
> │   │   └── cas.css
> │   ├── *images*
> │   │   ├── apereo-logo.png
> │   │   ├── cas-logo.png
> │   │   └── logo.png
> │   └── *js*
> │   └── cas.js
> └── *templates*
> ├── *esig*
> │   ├── casAcceptableUsagePolicyView.html
> │   ├── casAccountDisabledView.html
> │   ├── casAccountLockedView.html
> │   ├── casAuthenticationBlockedView.html
> │   ├── casAuthyLoginView.html
> │   ├── casAzureAuthenticatorLoginView.html
> │   ├── casBadHoursView.html
> │   ├── casBadWorkstationView.html
> │   ├── casConfirmLogoutView.html
> │   ├── casConfirmView.html
> │   ├── casConsentLogoutView.html
> │   ├── casConsentReviewView.html
> │   ├── casConsentView.html
> │   ├── casDuoLoginView.html
> │   ├── casExpiredPassView.html
> │   ├── casGenericSuccessView.html
> │   ├── casGoogleAuthenticatorLoginView.html
> │   ├── casGoogleAuthenticatorRegistrationView.html
> │   ├── casGuaDisplayUserGraphicsView.html
> │   ├── casGuaGetUserIdView.html
> │   ├── casInterruptView.html
> │   ├── casLoginMessageView.html
> │   ├── casLoginView.html
> │   ├── casLogoutView.html
> │   ├── casMfaRegisterDeviceView.html
> │   ├── casMustChangePassView.html
> │   ├── casPac4jStopWebflow.html
> │   ├── casPasswordUpdateSuccessView.html
> │   ├── casPropagateLogoutView.html
> │   ├── casRadiusLoginView.html
> │   ├── casResetPasswordErrorView.html
> │   ├── casResetPasswordSendInstructionsView.html
> │   ├── casResetPasswordSentInstructionsView.html
> │   ├── casResetPasswordVerifyQuestionsView.html
> │   ├── casRiskAuthenticationBlockedView.html
> │   ├── casServiceErrorView.html
> │   ├── casSurrogateAuthnListView.html
> │   ├── casSwivelLoginView.html
> │   ├── casU2fLoginView.html
> │   ├── casU2fRegistrationView.html
> │   ├── casYubiKeyLoginView.html
> │   ├── casYubiKeyRegistrationView.html
> │   ├── *error*
> │   │   ├── 401.html
> │   │   ├── 403.html
> │   │   ├── 404.html
> │   │   ├── 405.html
> │   │   └── 423.html
> │   ├── error.html
> │   ├── layout.html
> │   ├── *monitoring*
> │   │   ├── attrresolution.html
> │   │   ├── layout.html
> │   │   ├── viewAuthenticationEvents.html
> │   │   ├── viewConfig.html
> │   │   ├── viewConfigMetadata.html
> │   │   ├── viewDashboard.html
> │   │   ├── viewLoggingConfig.html
> │   │   ├── viewSsoSessions.html
> │   │   ├── viewStatistics.html
> │   │   └── viewTrustedDevices.html
> │   └── *protocol*
> │   ├── *2.0*
> │   │   ├── casProxyFailureView.html
> │   │   ├── casProxySuccessView.html
> │   │   ├── casServiceValidationFailure.html
> │   │   └── casServiceValidationSuccess.html
> │   ├── *3.0*
> │   │   ├── casServiceValidationFailure.html
> │   │   └── casServiceValidationSuccess.html
> │   ├── casAcceptableUsagePolicyView.html
> │   ├── casAccountDisabledView.html
> │   ├── casAccountLockedView.html
> │   ├── casAuthenticationBlockedView.html
> │   ├── casAuthyLoginView.html
> │   ├── casAzureAuthenticatorLoginView.html
> │   ├── casBadHoursView.html
> │   ├── casBadWorkstationView.html
> │   ├── casConfirmLogoutView.html
> │   ├── casConfirmView.html
> │   ├── casConsentLogoutView.html
> │   ├── casConsentReviewView.html
> │   ├── casConsentView.html
> │   ├── casDuoLoginView.html
> │   ├── casExpiredPassView.html
> │   ├

[cas-user] CAS Management - Loading

2017-12-08 Thread Jeffrey Ramsay
My cas management screen only display "Loading..." while all other services
are functioning.

[image: Inline image 1]
What can I do to resolve this? Anyone else experienced this.

Thanks,
-Jeff

-- 
- 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/CA%2BTBYOTningvhbkhismnKBmK%3DLY4cBmY-KEowGYeb%2BXXnKgG_A%40mail.gmail.com.


Re: [cas-user] Re: Migrate From Cas 5.1.6 to Cas 5.2.0 and JWT Problem

2017-12-08 Thread Jérôme LELEU
Hi,

In version 5.2, the artifact is now named: cas-server-support-token-tickets,
see:
https://apereo.github.io/cas/5.2.x/installation/Configure-ServiceTicket-JWT.html

Thanks.
Best regards,
Jérôme


On Fri, Dec 8, 2017 at 3:02 PM, Didier Capdevielle 
wrote:

> Oups ! Sorry, i was *NOT* in 5.2.0 (back to 5.1.6)  and i also can't
> build cas.war
>
> [ERROR] Failed to execute goal on project cas-overlay: Could not resolve
> dependencies for project org.apereo.cas:cas-overlay:war:1.0: Could not
> find artifact org.apereo.cas:*cas-server-support-token:jar:5.2.0* in
> sonatype-releases (http://oss.sonatype.org/content/repositories/releases/)
>
> Really sorry,
> Best regards,
>
>
> Le mardi 5 décembre 2017 07:44:17 UTC+1, hadi a écrit :
>>
>> Hi
>>
>> when i download Cas 5.2.0 maven overlay and add my recent dependencies
>> the cas-server-support-token jar file does not resolve for 5.2.0 version
>> I added below dependencies :
>>
>> 
>> 
>> org.apereo.cas
>> cas-server-webapp${app.server}
>> ${cas.version}
>> war
>> runtime
>> 
>> 
>> org.apereo.cas
>> cas-server-support-json-service-registry
>> ${cas.version}
>> 
>> 
>> org.apereo.cas
>> cas-server-support-ldap
>> ${cas.version}
>> 
>> 
>> org.apereo.cas
>> cas-server-support-hazelcast-ticket-registry
>> ${cas.version}
>> 
>> 
>> org.apereo.cas
>> cas-server-core-logout
>> ${cas.version}
>> 
>>
>> 
>> org.apereo.cas
>> cas-server-support-token
>> ${cas.version}
>> 
>> 
>>
>> I want to use jwt service ticket and because of that i added
>> cas-server-support-token as cas document but i think there is no specified
>> version for that
>> anybody knows what happend ?
>> 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/de7a601f-5fb7-4731-a94f-
> fe641b162093%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/CAP279LyV6FY2B9q4LEoURovXs_SCN%3DtYYufi%2BF%2Bu6-CZkxA7qQ%40mail.gmail.com.


[cas-user] Re: Migrate From Cas 5.1.6 to Cas 5.2.0 and JWT Problem

2017-12-08 Thread Didier Capdevielle
Oups ! Sorry, i was *NOT* in 5.2.0 (back to 5.1.6)  and i also can't build 
cas.war 

[ERROR] Failed to execute goal on project cas-overlay: Could not resolve 
dependencies for project org.apereo.cas:cas-overlay:war:1.0: Could not find 
artifact org.apereo.cas:*cas-server-support-token:jar:5.2.0* in 
sonatype-releases (http://oss.sonatype.org/content/repositories/releases/)

Really sorry, 
Best regards,


Le mardi 5 décembre 2017 07:44:17 UTC+1, hadi a écrit :
>
> Hi 
>
> when i download Cas 5.2.0 maven overlay and add my recent dependencies 
> the cas-server-support-token jar file does not resolve for 5.2.0 version
> I added below dependencies : 
>
> 
> 
> org.apereo.cas
> cas-server-webapp${app.server}
> ${cas.version}
> war
> runtime
> 
> 
> org.apereo.cas
> cas-server-support-json-service-registry
> ${cas.version}
> 
> 
> org.apereo.cas
> cas-server-support-ldap
> ${cas.version}
> 
> 
> org.apereo.cas
> cas-server-support-hazelcast-ticket-registry
> ${cas.version}
>  
> 
> org.apereo.cas
> cas-server-core-logout
> ${cas.version}
> 
>
> 
> org.apereo.cas
> cas-server-support-token
> ${cas.version}
> 
> 
>
> I want to use jwt service ticket and because of that i added 
> cas-server-support-token as cas document but i think there is no specified 
> version for that 
> anybody knows what happend ?
> 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/de7a601f-5fb7-4731-a94f-fe641b162093%40apereo.org.


[cas-user] Re: Migrate From Cas 5.1.6 to Cas 5.2.0 and JWT Problem

2017-12-08 Thread Didier Capdevielle
Other lead : did you clear your Maven repository (/root/.m2/repository/ in 
Debian) before building 5.2.0 ?

Le vendredi 8 décembre 2017 14:29:26 UTC+1, Didier Capdevielle a écrit :
>
> HI, 
> Not sure to well understand your problem.
> Building cas.war with cas-server-support-token (AND 
> cas-server-support-token-webflow is it necessary ?) dependencies seems to 
> work well with Cas 5.2.0 maven overlay.
> For me problems happen with json file configuration in registry.
> First time, json file directory was not taken in account ()
> Second time, problem in evaluationOrder (here, it's my fault).
> I'm not a specialist. Sorry if i am out of your mind.
>
> In 5.1.6, i can't make JWT Service ticket works. I can't configure service 
> in registry (json file) or may be it is in cas.properties. 
> Where did you find sample and/or documentation (apart Apereo) ?
>
> Best regards,
>
> Le mardi 5 décembre 2017 07:44:17 UTC+1, hadi a écrit :
>>
>> Hi 
>>
>> when i download Cas 5.2.0 maven overlay and add my recent dependencies 
>> the cas-server-support-token jar file does not resolve for 5.2.0 version
>> I added below dependencies : 
>>
>> 
>> 
>> org.apereo.cas
>> cas-server-webapp${app.server}
>> ${cas.version}
>> war
>> runtime
>> 
>> 
>> org.apereo.cas
>> cas-server-support-json-service-registry
>> ${cas.version}
>> 
>> 
>> org.apereo.cas
>> cas-server-support-ldap
>> ${cas.version}
>> 
>> 
>> org.apereo.cas
>> cas-server-support-hazelcast-ticket-registry
>> ${cas.version}
>>  
>> 
>> org.apereo.cas
>> cas-server-core-logout
>> ${cas.version}
>> 
>>
>> 
>> org.apereo.cas
>> cas-server-support-token
>> ${cas.version}
>> 
>> 
>>
>> I want to use jwt service ticket and because of that i added 
>> cas-server-support-token as cas document but i think there is no specified 
>> version for that 
>> anybody knows what happend ?
>> 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/be5f76d9-f2cc-42df-8256-6720d6f2dd08%40apereo.org.


[cas-user] Re: how to change cas.properties location

2017-12-08 Thread Cristina Vlaicu
Hello,

I found out my response here : 
https://apereo.github.io/cas/5.2.x/installation/Configuration-Management.html#overview

I added in tomcat in JAVA_OPTS variable the system property 
-Dcas.standalone.config=/my/config/folder/location 

Thank you,
Cristina 


On Friday, December 8, 2017 at 2:44:44 PM UTC+2, Cristina Vlaicu wrote:
>
> Hello,
>
> I read in the documentation that for changing cas.properties location I 
> have to change the value of cas.standalone.config property, but I did not 
> understood where this property should be configured ? Should it be 
> configured in file application.properties ? Another question is if for this 
> settings, should I add another dependency in pom.xml file of cas-overlay 
> project? 
>
> Thank you,
>
> Cristina 
>

-- 
- 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/de0f676c-b889-4af7-a81f-8889c7855eac%40apereo.org.


[cas-user] Re: Migrate From Cas 5.1.6 to Cas 5.2.0 and JWT Problem

2017-12-08 Thread Didier Capdevielle
HI, 
Not sure to well understand your problem.
Building cas.war with cas-server-support-token (AND 
cas-server-support-token-webflow is it necessary ?) dependencies seems to 
work well with Cas 5.2.0 maven overlay.
For me problems happen with json file configuration in registry.
First time, json file directory was not taken in account ()
Second time, problem in evaluationOrder (here, it's my fault).
I'm not a specialist. Sorry if i am out of your mind.

In 5.1.6, i can't make JWT Service ticket works. I can't configure service 
in registry (json file) or may be it is in cas.properties. 
Where did you find sample and/or documentation (apart Apereo) ?

Best regards,

Le mardi 5 décembre 2017 07:44:17 UTC+1, hadi a écrit :
>
> Hi 
>
> when i download Cas 5.2.0 maven overlay and add my recent dependencies 
> the cas-server-support-token jar file does not resolve for 5.2.0 version
> I added below dependencies : 
>
> 
> 
> org.apereo.cas
> cas-server-webapp${app.server}
> ${cas.version}
> war
> runtime
> 
> 
> org.apereo.cas
> cas-server-support-json-service-registry
> ${cas.version}
> 
> 
> org.apereo.cas
> cas-server-support-ldap
> ${cas.version}
> 
> 
> org.apereo.cas
> cas-server-support-hazelcast-ticket-registry
> ${cas.version}
>  
> 
> org.apereo.cas
> cas-server-core-logout
> ${cas.version}
> 
>
> 
> org.apereo.cas
> cas-server-support-token
> ${cas.version}
> 
> 
>
> I want to use jwt service ticket and because of that i added 
> cas-server-support-token as cas document but i think there is no specified 
> version for that 
> anybody knows what happend ?
> 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/1fc79c5f-908d-4250-a713-3fb1cc9f9609%40apereo.org.


[cas-user] how to change cas.properties location

2017-12-08 Thread Cristina Vlaicu
Hello,

I read in the documentation that for changing cas.properties location I 
have to change the value of cas.standalone.config property, but I did not 
understood where this property should be configured ? Should it be 
configured in file application.properties ? Another question is if for this 
settings, should I add another dependency in pom.xml file of cas-overlay 
project? 

Thank you,

Cristina 

-- 
- 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/7949faa6-037c-4b09-8072-654f9064b5ba%40apereo.org.


Re: [cas-user] Re: externalize various files

2017-12-08 Thread vallee.romain
For me, there is no property setting for messages.properties

Le vendredi 8 décembre 2017 13:08:27 UTC+1, Chris Peck a écrit :
>
> Thanks,
> I see that, is there a property setting to locate messages.properties in 
> /etc/cas/config and the themes in /etc/cas/themes ? It's a pain to have to 
> re-roll the warfile when I make a mod to it.  Granted, once it's set I 
> probably won't have to make changes to those.
>
> On Fri, Dec 8, 2017 at 5:15 AM vallee.romain  > wrote:
>
>> For message .properties:
>> *src*
>> └── *main*
>> └── *resources*
>> ├─
>> ├── messages.properties
>>
>>
>> and css and js :
>>
>> *src*
>> └── *main*
>> └── *resources*
>> ├── *static*
>> │   └── *themes*
>> │   └── *esig <-- this is your theme name*
>> │   ├── *css*
>> │   │   └── cas.css
>> │   ├── *images*
>> │   │   ├── apereo-logo.png
>> │   │   ├── cas-logo.png
>> │   │   └── logo.png
>> │   └── *js*
>> │   └── cas.js
>>
>> Le vendredi 8 décembre 2017 10:43:15 UTC+1, Chris Peck a écrit :
>>>
>>> I would like to be able to build a vanilla cas.war file and externalize 
>>> the following:
>>> -messages.properties
>>> -css, js, and images references from my css files for my templates.
>>>
>>> Is there a place where I can set these locations in CAS 5.x (5.1 or 
>>> 5.2), maybe as a -Dblahlocation=/etc/cas/blah ?
>>>
>>> -- 
>>>
>>> -sent from my mobile
>>>
>> -- 
>> - 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/e02abe86-127a-44c0-a9bf-f752c19b4f70%40apereo.org
>>  
>> 
>> .
>>
> -- 
>
> -sent from my mobile
>

-- 
- 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/e5a5a2e0-a27a-4f46-b8bb-d27284a5a7d9%40apereo.org.


Re: [cas-user] Re: externalize various files

2017-12-08 Thread Chris Peck
Thanks,
I see that, is there a property setting to locate messages.properties in
/etc/cas/config and the themes in /etc/cas/themes ? It's a pain to have to
re-roll the warfile when I make a mod to it.  Granted, once it's set I
probably won't have to make changes to those.

On Fri, Dec 8, 2017 at 5:15 AM vallee.romain 
wrote:

> For message .properties:
> *src*
> └── *main*
> └── *resources*
> ├─
> ├── messages.properties
>
>
> and css and js :
>
> *src*
> └── *main*
> └── *resources*
> ├── *static*
> │   └── *themes*
> │   └── *esig <-- this is your theme name*
> │   ├── *css*
> │   │   └── cas.css
> │   ├── *images*
> │   │   ├── apereo-logo.png
> │   │   ├── cas-logo.png
> │   │   └── logo.png
> │   └── *js*
> │   └── cas.js
>
> Le vendredi 8 décembre 2017 10:43:15 UTC+1, Chris Peck a écrit :
>>
>> I would like to be able to build a vanilla cas.war file and externalize
>> the following:
>> -messages.properties
>> -css, js, and images references from my css files for my templates.
>>
>> Is there a place where I can set these locations in CAS 5.x (5.1 or 5.2),
>> maybe as a -Dblahlocation=/etc/cas/blah ?
>>
>> --
>>
>> -sent from my mobile
>>
> --
> - 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/e02abe86-127a-44c0-a9bf-f752c19b4f70%40apereo.org
> 
> .
>
-- 

-sent from my mobile

-- 
- 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/CAFZ1tgadys1oSP%3DKNdHgag1bJ_VfcpBu_ufmKWw%2BCZ0dOaRB%3DA%40mail.gmail.com.


[cas-user] Re: externalize various files

2017-12-08 Thread vallee.romain
For message .properties:
*src*
└── *main*
└── *resources*
├─
├── messages.properties


and css and js :

*src*
└── *main*
└── *resources*
├── *static*
│   └── *themes*
│   └── *esig <-- this is your theme name*
│   ├── *css*
│   │   └── cas.css
│   ├── *images*
│   │   ├── apereo-logo.png
│   │   ├── cas-logo.png
│   │   └── logo.png
│   └── *js*
│   └── cas.js

Le vendredi 8 décembre 2017 10:43:15 UTC+1, Chris Peck a écrit :
>
> I would like to be able to build a vanilla cas.war file and externalize 
> the following:
> -messages.properties
> -css, js, and images references from my css files for my templates.
>
> Is there a place where I can set these locations in CAS 5.x (5.1 or 5.2), 
> maybe as a -Dblahlocation=/etc/cas/blah ?
>
> -- 
>
> -sent from my mobile
>

-- 
- 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/e02abe86-127a-44c0-a9bf-f752c19b4f70%40apereo.org.


[cas-user] externalize various files

2017-12-08 Thread Chris Peck
I would like to be able to build a vanilla cas.war file and externalize the
following:
-messages.properties
-css, js, and images references from my css files for my templates.

Is there a place where I can set these locations in CAS 5.x (5.1 or 5.2),
maybe as a -Dblahlocation=/etc/cas/blah ?

-- 

-sent from my mobile

-- 
- 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/CAFZ1tgarU%3DzFr6SHDVOk5Qi0inhuCk-ktK2EWE%2B0hx1tKSLdcw%40mail.gmail.com.


[cas-user] Re: Problem Service registry with Mongo

2017-12-08 Thread Francisco Morote
Hi again,
another approach will try to connect with an URI like this 

uri = 'mongodb://cas-adm:cas-adm@localhost:27017/
cas-mongo-database?authSource=admin'

any idea?
Thanks

El viernes, 8 de diciembre de 2017, 8:55:53 (UTC+1), Francisco Morote 
escribió:
>
> Hi,
> we are using cas 5.1.5. Our MongoDb installation stores all users in 
> 'admin' database
> With shell can auth without problem:  bin/mongo -u cas-adm -p cas-adm  
> --authenticationDatabase admin then use the cas database
>
> Is there any way to tell CAS the authenticationDatabase parameter?
>
> My cas properties:
> ## 
> # MongoDb Ticket Registry
> # 
> cas.ticket.registry.mongo.idleTimeout=3
> cas.ticket.registry.mongo.port=27017
> cas.ticket.registry.mongo.dropCollection=false
> cas.ticket.registry.mongo.socketKeepAlive=false
> cas.ticket.registry.mongo.password=cas-adm
> cas.ticket.registry.mongo.collectionName=cas-ticket-registry
> cas.ticket.registry.mongo.databaseName=cas-mongo-database
> cas.ticket.registry.mongo.timeout=5000
> cas.ticket.registry.mongo.userId=cas-adm
> cas.ticket.registry.mongo.writeConcern=NORMAL
> cas.ticket.registry.mongo.host=localhost
>
> cas.ticket.mongo.conns.lifetime=6
> cas.ticket.mongo.conns.perHost=10
>
> Of course if i set databaseName=admin, the collections are created in 
> 'admin' db not in 'cas-mongo-database'
>
> It seems to me that the only way to auth is that the user is in 
> 'cas-mongo-database' not in 'admin' :(
>
> 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/bad69675-d42c-4b11-9db4-c6432f71efc8%40apereo.org.