[cas-user] ldapAuthenticationHandler

2016-09-08 Thread Jeffrey Ramsay
Ok. I tried to follow the link to setup LDAP authentication and it's not working. https://apereo.github.io/cas/development/installation/Configuration-Properties.html#ldap-authentication I configured the following in cas.properties but I'm not sure if I'm on the right path: ## # CAS

Re: [cas-user] How to combine LDAP and static users from a file

2016-09-08 Thread Josep Manel Andrés
sorry, I've missed "file:" p:fileName="/etc/cas/local-users.properties" /> p:fileName="file:/etc/cas/local-users.properties" /> Thanks a lot, now it works. On 08/09/16 16:47, William G. Thompson, Jr. wrote: 2016-09-08 16:25:21,599 ERROR

Re: [cas-user] How to combine LDAP and static users from a file

2016-09-08 Thread William G. Thompson, Jr.
> 2016-09-08 16:25:21,599 ERROR > [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - > not open ServletContext resource [/etc/cas/local-users.properties])> Read permissions on /etc/cas/local-users.properties? On Thu, Sep 8, 2016 at 10:32 AM, Josep Manel Andrés

Re: [cas-user] How to combine LDAP and static users from a file

2016-09-08 Thread Josep Manel Andrés
Hi Willian, Great! It kind of worked :) I have put this in the authenticationManager Bean: class="org.jasig.cas.authentication.PolicyBasedAuthenticationManager"> value-ref="proxyPrincipalResolver" /> value="#{null}" />

Re: [cas-user] How to combine LDAP and static users from a file

2016-09-08 Thread William G. Thompson, Jr.
Yes, with CAS all things are possible. :) AuthN handlers can be changed so you can have both. Something like this would work. You'll need to make sure your usernames don't overlap. Also see https://apereo.github.io/cas/4.1.x/installation/Whitelist-Authentication.html Best,

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

2016-09-08 Thread Misagh Moayyed
Example: https://github.com/apereo/cas/blob/master/cas-server-support-digest-authentication/src/main/java/org/apereo/cas/digest/config/DigestAuthenticationConfiguration.java#L128 --  Misagh From: Gokhan Mansuroglu Reply: Gokhan Mansuroglu

[cas-user] How to combine LDAP and static users from a file

2016-09-08 Thread Josep Manel Andrés
Hi all, We've got a CAS server for our systems with an LDAP backend, which works great, but we have an special case in which an app needs to be able to login with root account, but this is not on the LDAP. So my question is how it's possible to combine both systems, LDAP login and a username