[cas-user] CAS 5.1 Question to retrieve Facebook Profile Fields

2017-06-22 Thread Raymond Cheng - ITD
Hi, I am trying to setup CAS 5.1 and I have enabled Facebook login successfully. But I cannot retrieve Facebook Fields and server log see empty attribute list in principal. Please kindly advise if there is some setting missing. Thanks! Regards, Raymond Cheng [service json] _hkscs{ "@class":

Re: [cas-user] Re: Custom Authentication Handler in version 5.0.0

2017-06-22 Thread Raghavendra Chary B
Hi Misagh, Custom cassandra auth handler was working in CAS 5.0.0. I upgraded to CAS 5.1.0, it stopped working. I added getOrder method as AuthenticationHandler in 5.1.0 needs it. Please let me know if any other config i missed. On Wednesday, 30 November 2016 12:14:03 UTC+5:30, Raghavendra Ch

Re: [cas-user] CAS 5.1.0: Cannot read/parse JSON [{}] to deserialize into type [] ... missing configuration/support module

2017-06-22 Thread Michael Kotowski
Filed an issue: https://github.com/apereo/cas/issues/2698 Am Mittwoch, 21. Juni 2017 18:00:58 UTC+2 schrieb Misagh Moayyed: > > Nothing is missing in your config. This is a bug in JSON serialization. > You’re welcome to file an issue. > > > > --Misagh > > -- - CAS gitter chatroom: https://gi

[cas-user] Change local repository for maven War Overlay

2017-06-22 Thread Didier Capdevielle
Hello everybody, (Sorry for my english) I am making many tests and install of Cas Server 5.0.x using Maven War Overlay. I often fill my server's filesystem and want to change local repository. With Maven, no problem : change is on /etc/maven/settings.xml but this change doesn't work for mvnw. I s

Re: [cas-user] [CAS 5.0.1] Unable to browse any link of my CAS Client web application after successful user authentication through CAS Server

2017-06-22 Thread John Barleycorn
Good afternoon Ray, and thanks for your message. Well, looks like I am really running out of bullets now. As per your suggestion I have defined a LogoutFilter to be applied before the CasAuthenticationFilter in the ACL of the configure(HTTPSecurity http) method of my security configuration class.

Re: [cas-user] CAS 5.1 Password expired issues

2017-06-22 Thread Ludovic Senecaux
There is a {0} in messages_*XX*.properties but not in messages.properties -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://

[cas-user] cas 4.2 multiple virtual host

2017-06-22 Thread Stéphane Delcourt
Hi everyone, We are using cas 4.2 actually in our environment. The hostname config is classic and look like this - app1.example.com (protected by cas) - app2.example.com (protected by cas) - sso.example.com I would like to be able to do something like this: For app1, login page *app1*

[cas-user] Issue with LDAP authentication: LDAP response read timed out

2017-06-22 Thread David Hübner
Hi all, we want to deploy a CAS 5.1 server with the Maven Overlay method under Cent OS7, Java 1.8.0 and Tomcat 8.0. Currently I am trying to set up authentication against LDAP. The configuration I am using is fairly simple: cas.authn.ldap[0].type=AUTHENTICATED cas.authn.ldap[0].useSsl=false cas.a

[cas-user] Mongo DB Ticket Registry not working properly

2017-06-22 Thread Karl Banke
When starting CAS with the MongoDB TicketRegistry I get an infinite recursion whenever a service ticket is created. [[1;31m2017-06-22 13:30:43,869 ERROR [org.apereo.cas.ticket.registry.MongoDbTicketRegistry] - org.spri ngframework.beans.factory.support.DefaultListableBeanFactory["autowireCandid

Re: [cas-user] CAS 5.1 Password expired issues

2017-06-22 Thread Pavlos Drandakis
Yes, you are right, I 've only checked messages.properties... I have no thymeleaf experience and surely someone else could help you more. Nevertheless I 've found that, perhaps, the following, is what you are looking for: "#{screen.mustchangepass.message(${@environment.getProperty('cas.authn.p

[cas-user] rest api and social sign on

2017-06-22 Thread Nancy Snoke
Hey Guys, I have cas 4.2.7 set up with ldap, database and social sign on set up. I’ve been asked to get the rest api set up for a mobile app to interact with. Is it possible for the social sign on to work through the rest api? I’m assuming it is not, but would just like to confirm. Thanks,

Re: [cas-user] Issue with LDAP authentication: LDAP response read timed out

2017-06-22 Thread Daniel Fisher
On Thu, Jun 22, 2017 at 9:18 AM, David Hübner wrote: > Fast forward to authentication. There is a timeout when reading the LDAP > response. So essentially there never is a response. See the log below for > this part: > > 2017-06-22 15:07:13,564 DEBUG [org.ldaptive.SearchOperation] - request=[org

Re: [cas-user] Issue with LDAP authentication: LDAP response read timed out

2017-06-22 Thread David Hübner
What exactly are we talking about? I have cas.authn.ldap[0].minPoolSize and maxPoolSize set to default, so 3/10. Or are you talking about something else? On Thursday, June 22, 2017 at 5:01:20 PM UTC+2, dfisher wrote: > > On Thu, Jun 22, 2017 at 9:18 AM, David Hübner > wrote: > >> Fast forward

Re: [cas-user] CAS 5.1 Password expired issues

2017-06-22 Thread Ben Howell-Thomas
Regarding : Eventually, everything seems to work ok, after adding in login-webflow.xml > the following (which is present in CAS v5.0.x but not in CAS v5.1.0): > > > to="casAccountDisabledView"/> > > to="casExpiredPassView"/> > to="casMustChangePass

Re: [cas-user] [CAS 5.0.1] Unable to browse any link of my CAS Client web application after successful user authentication through CAS Server

2017-06-22 Thread Ray Bon
John, I have not used Spring Boot but you should not have to write your own filter unless you want some special processing. See here, https://apereo.github.io/cas/5.0.x/integration/CAS-Clients.html, for a launch to various clients and their config. For the java client there is also an example

Re: [cas-user] Issue with LDAP authentication: LDAP response read timed out

2017-06-22 Thread Daniel Fisher
That's it, just wanted to make sure you're actually using a pool. Can you post your complete configuration? --Daniel Fisher On Thu, Jun 22, 2017 at 11:05 AM, David Hübner wrote: > What exactly are we talking about? > I have cas.authn.ldap[0].minPoolSize and maxPoolSize set to default, so > 3/10

Re: [cas-user] CAS 5.1 Password expired issues

2017-06-22 Thread Pavlos Drandakis
Hi Ben, No, I hadn't, but I just did it: https://github.com/apereo/cas/issues/2703 Cheers, Pavlos On 22/06/2017 06:43 μμ, Ben Howell-Thomas wrote: Regarding : Eventually, everything seems to work ok, after adding in login-webflow.xml the following (which is present in CAS v5.0.x b

Re: [cas-user] Issue with LDAP authentication: LDAP response read timed out

2017-06-22 Thread David Hübner
Well, there honestly is not that much there: cas.server.name: ... cas.server.prefix: ... logging.config: file:/etc/cas/config/log4j2.xml logging.level.org.apereo=DEBUG cas.authn.accept.users= cas.authn.ldap[0].type=AUTHENTICATED cas.authn.ldap[0].useSsl=false cas.authn.ldap[0].ldapUrl=ldap://..

[cas-user] upgrade 5.0.4.0 to 5.1 jdbc [Password does not match value on record]

2017-06-22 Thread rnx
Hi everybody! I am having an issue with upgrading from CAS 5.0.4 to 5.1 with jdbc mysql authentication. The config has remained the same but with new version mysql authentication does not work. Passwords are stored as plaintext cas.authn.accept.users= cas.authn.jdbc.query[0].healthQu

Re: [cas-user] Issue with LDAP authentication: LDAP response read timed out

2017-06-22 Thread Daniel Fisher
On Thu, Jun 22, 2017 at 3:08 PM, David Hübner wrote: > cas.authn.ldap[0].validator.type=NONE > cas.authn.ldap[0].validateOnCheckout=false > cas.authn.ldap[0].validatePeriodically=false > You need to do some sort of validation to keep the pool healthy. I recommend you turn on periodic validation

Re: [cas-user] Re: Custom Authentication Handler in version 5.0.0

2017-06-22 Thread Raghavendra Chary B
Thanks Misagh, I got it working with the help of below link: https://apereo.github.io/2017/02/02/cas51-authn-handlers/ I had to upgrade cassandra-driver to 3.2.0, because with 3.1.0 i faced issue https://datastax-oss.atlassian.net/browse/JAVA-1328. On Thursday, 22 June 2017 13:16:03 UTC+5:30, Ra

[cas-user] Re: Mongo DB Ticket Registry not working properly

2017-06-22 Thread Karl Banke
I am running Version 5.1. Logging into cas works without any issues. This is my Registry Configuration *cas.ticket.registry.mongo.idleTimeout=3cas.ticket.registry.mongo.port=27017cas.ticket.registry.mongo.dropCollection=falsecas.ticket.registry.mongo.socketKeepAlive=falsecas.ticket.re

[cas-user] Re: Mongo DB Ticket Registry not working properly

2017-06-22 Thread Karl Banke
Regardless of any configuration the error occurs as soon as I include the mongo ticket registry dependency. org.apereo.cas cas-server-support-mongo-ticket-registry ${cas.version} > -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://aper