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

[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

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

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

[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

[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

[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

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

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 > ├──

[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

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

[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*

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

[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

[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

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

[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-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 ? --

[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