Re: [cas-user] Clustering nodes between two server have high traffic CAS 5.2.0-RC4

2017-12-07 Thread Andy Ng
Hi Rbon, Thanks for the reply! Since the traffic has dropped down now, so I think it might be a normal thing, just real people using CAS I guess will have this behavior. I don't think I do any cache for logs. Tomcat is not clustered. Thanks again! -Andy On Friday, 8 December 2017 01:54:53

[cas-user] Problem Service registry with Mongo

2017-12-07 Thread Francisco Morote
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

[cas-user] cas-overlay 5.2 personalization

2017-12-07 Thread vallee.romain
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 ├──

Re: [cas-user] CAS 5.2 ST errors

2017-12-07 Thread vallee.romain
the error from my test plateform !! i can't have 2 cas server with the same name ! Le jeudi 7 décembre 2017 22:06:52 UTC+1, Jeffrey Ramsay a écrit : > > I know the feeling :) > > Good luck. > > On Thu, Dec 7, 2017 at 3:37 PM, vallee.romain > wrote: > >> Thanks you Jeff

Re: [cas-user] CAS 5.2 ST errors

2017-12-07 Thread Jeffrey Ramsay
I know the feeling :) Good luck. On Thu, Dec 7, 2017 at 3:37 PM, vallee.romain wrote: > Thanks you Jeff for your answer. > I try toMorrow, i spend so many Time on jasig this week. > I turn off the pc and i'm going to do jasig dream!!! > > And thanks you again > > -- >

Re: [cas-user] CAS 5.2 ST errors

2017-12-07 Thread vallee.romain
Thanks you Jeff for your answer. I try toMorrow, i spend so many Time on jasig this week. I turn off the pc and i'm going to do jasig dream!!! And thanks you again -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7

Re: [cas-user] CAS 5.2 ST errors

2017-12-07 Thread Jeffrey Ramsay
Try switching these: //phpCAS::client(SAML_VERSION_1_1, $cas_host, $cas_port, $cas_context); phpCAS::client(CAS_VERSION_3_0, $cas_host, $cas_port, $cas_context); -Jeff On Thu, Dec 7, 2017 at 3:22 PM, vallee.romain wrote: > hello users, > i need help !!! > i prepare a

[cas-user] CAS 5.2 ST errors

2017-12-07 Thread vallee.romain
hello users, i need help !!! i prepare a 5.2 cas with apache php client test its working well But, when i use a real application, i got this error :

Re: [cas-user] Twilio

2017-12-07 Thread Jeffrey Ramsay
Ok! Thanks. -Jeff On Thu, Dec 7, 2017 at 2:05 PM, Man H wrote: > Jeffrey > > It is supposed to use with cas events related to password management, > where user is notified, unless you have you own notifications implemented. > > Regards > > > > 2017-12-04 16:03 GMT-03:00

Re: [cas-user] Help - cas-management - jpa

2017-12-07 Thread Man H
Jeffrey I put my driver into containers lib. Regards 2017-12-07 15:23 GMT-03:00 Jeffrey Ramsay : > Has anyone else experience this error before? What's the fix? > > @pom.xml: > > > 5.2.0 > 5.1.31 > > > > org.apereo.cas >

Re: [cas-user] Twilio

2017-12-07 Thread Man H
Jeffrey It is supposed to use with cas events related to password management, where user is notified, unless you have you own notifications implemented. Regards 2017-12-04 16:03 GMT-03:00 Jeffrey Ramsay : > Anyone using twilio with CAS for SMS; I have it configured

[cas-user] Help - cas-management - jpa

2017-12-07 Thread Jeffrey Ramsay
Has anyone else experience this error before? What's the fix? @pom.xml: 5.2.0 5.1.31 org.apereo.cas cas-server-support-jpa-service-registry ${cas.version} org.apereo.cas

Re: [cas-user] Clustering nodes between two server have high traffic CAS 5.2.0-RC4

2017-12-07 Thread Ray Bon
Andy, Have you configured a caching mechanism for the logs? Do you have your application servers (tomcat) clustered? CAS 5.x has good session management and does not need to be on a clustered environment. Ray On Thu, 2017-12-07 at 00:30 -0800, Andy Ng wrote: Hi all, Background: Today I have

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

2017-12-07 Thread Ray Bon
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

Re: [cas-user] Creating custom JDBC authentication handler!

2017-12-07 Thread Man H
Ok here you have my configuration. NOTE however this is for 5.1 version! Version 5.2 changed sligthly :) @Configuration("MyAuthenticationEventExecutionPlanConfiguration") @EnableConfigurationProperties(CasConfigurationProperties.class) public class

Re: [cas-user] Customized MFA bypass in CAS 5.1.x

2017-12-07 Thread Adam Causey
I ​ ​ think I ​ ​ found the issue. ​ ​ The comments in the example say " ​​ Choose the provider you need from the above map (i.e. 'mfa-duo`) ​"​ , however the actual value for Duo is "duoMultifactorAuthenticationProvider". ​ final MultifactorAuthenticationProvider provider =

Re: [cas-user] Customized MFA bypass in CAS 5.1.x

2017-12-07 Thread Adam Causey
Misagh, Do you have any other examples of the custom triggers? I have written a custom trigger but am getting a NullPointerException as follows: 2017-12-07 10:36:53,826 [https-jsse-nio-8444-exec-1] WARN org.apereo.cas.web.flow.resolver.impl.InitialAuthenticationAttemptWebflowEventResolver - null

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

2017-12-07 Thread snaffy
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,

[cas-user] Re: CAS 5.1.4 Server with JDBC and SAML - Deployment error on Wildfly 10

2017-12-07 Thread Abylay
On Tuesday, September 26, 2017 at 2:26:02 AM UTC+6, SebastianU wrote: > > Hi, > > I'm migrating to Wildfly 10 and CAS 5.x and I'm getting errors deploying > default overlay template... > > My pom.xml includes: > > > > org.apereo.cas > cas-server-support-jdbc > ${cas.version} > > >

Re: [cas-user] Creating custom JDBC authentication handler!

2017-12-07 Thread noumann.f
yes, I'm trying to see how things are organized in the cas src support jdbc. But I'm stuck in how to manage having special JDBC properties related to the customized handler in the *cas.properties* file, and then what are the related classes to be added and modified according to that? In my

[cas-user] What exception to throw in a custom authentication handler if system is down

2017-12-07 Thread Filip Majernik
I have a custom authentication handler, which checks the username/pass against an elasticsearch datastore. Everything works fine, but if from some reason the ES would be down I want to throw an exception saying that the system is currently down. I've tried with any subclass of

[cas-user] Clustering nodes between two server have high traffic CAS 5.2.0-RC4

2017-12-07 Thread Andy Ng
Hi all, *Background:* Today I have deployed our CAS 5 server (5.2.0-RC4) to production, to replace the existing CAS 4, we are using a load balancer with 2 clustering node by Hazelcast. *Problem:* there is a problem of increasing network traffic (a near straight slope) since the next morning

[cas-user] CAS5.1.5 Remote Address Authentication not work

2017-12-07 Thread Kent Lu
Hi everyone, I use CAS 5.1.5 want to user remote address authentication, but when i went to login, also on the login page, This is my step, which step is wrong? thanks. = WHO: audit:unknown WHAT: [event=success,timestamp=Thu Dec 07