Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2017-01-25 Thread R Mars
Hello All, I am working through setting up a CAS server and came across this post since I was here I figured I would give some background for anyone else trying to figure out how the authenticators are selected. See the class: LdapAuthenticationConfiguration.ldapAuthenticationHandlers() this p

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread Hal Deadman
I got authentication working against Active Directory and used type=AD. Below is the config I used in yaml format. I can't say that all the configuration is necessary and I am not doing much at this point beyond logging in to cas (using sAMAccountName as username). I couldn't get spring-boot:run t

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread mohammad almodallal
Hello Richard, Yes, and many thanks for the greet efforts done. Regards. On Tuesday, December 13, 2016 at 5:17:36 PM UTC+3, richard.frovarp wrote: > > +1 > > I know that documentation is a work in progress, and that patches are > welcome. Right now the most difficult part of setting it up is fi

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread mohammad almodallal
Hello, yes but later I added (cas.authn.accept.users=) Thanks. On Tuesday, December 13, 2016 at 5:10:27 PM UTC+3, Philippe MARASSE wrote: > > Hello, > > I don't think it make a lot of differences, as dkopylenko said. > > But have you overloaded application.properties ? your log shows > AcceptUs

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread Richard Frovarp
+1I know that documentation is a work in progress, and that patches are welcome. Right now the most difficult part of setting it up is figuring out what each configuration value is used for and how it works. In general this new configuration method is less painful than the XML method, but it does h

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread 'Philippe MARASSE' via CAS Community
Hello, I don't think it make a lot of differences, as dkopylenko said. But have you overloaded application.properties ? your log shows AcceptUsersAuthenticationHandler which is not related to LDAP but is related to default distribution of CAS which works out of the box with casuser/mellon user.

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread mohammad almodallal
Thank you, but I think it needs to be documented. On Tuesday, December 13, 2016 at 1:51:46 PM UTC+3, dkopy...@unicon.net wrote: > > Basically different ldaptive Authenticator implementation is instantiated > under the hood, based on the value. > > If you want to learn the details there are two o

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread dkopylenko
Basically different ldaptive Authenticator implementation is instantiated under the hood, based on the value. If you want to learn the details there are two options: a) Dive deep into the CAS server code and learn yourself b) higher some CAS experts to do the training and explain all of this to

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread mohammad almodallal
Hell, it works with cas.authn.ldap[0].type=AUTHENTICATED not with AD what is the difference between them? Thanks. On Tuesday, December 13, 2016 at 1:40:46 PM UTC+3, mohammad almodallal wrote: > > already set > cas.authn.ldap[0].type=AD > > On Tuesday, December 13, 2016 at 1:38:08 PM UTC+3, dkop

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread mohammad almodallal
already set cas.authn.ldap[0].type=AD On Tuesday, December 13, 2016 at 1:38:08 PM UTC+3, dkopy...@unicon.net wrote: > > You want to make sure that the following property is set: > cas.authn.ldap[0].type > with either one of these values: AD, AUTHENTICATED, DIRECT, ANONYMOUS, SASL > > Best, > D.

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread dkopylenko
You want to make sure that the following property is set: cas.authn.ldap[0].type with either one of these values: AD, AUTHENTICATED, DIRECT, ANONYMOUS, SASL Best, D. On Dec 13, 2016, 04:20 -0500, mohammad almodallal , wrote: > Hello Philippe, > > the cas.properties was containing cas.authn.attrib

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-13 Thread mohammad almodallal
Hello Philippe, the cas.properties was containing cas.authn.attributeRepository instead of cas.authn.ldap[0] anyway I'm using Active Directory does this make diffrence? for the cas-server-support-ldap yes it is already included but I still get errors like 2016-12-13 12:14:20,367 INFO [org.ape

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-12 Thread 'Philippe MARASSE' via CAS Community
Hello, The reference documentation is https://apereo.github.io/cas/development/installation/Configuration-Properties.html#ldap cas.authn.ldap[0].ldapUrl=ldap://ldap1.mydomain.com ldap://ldap2.mydomain.com cas.authn.ldap[0].useSsl=false cas.authn.ldap[0].useStartTls=false cas.authn.ldap[0].provide

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-12 Thread mohammad almodallal
Hello Philippe, also, please I've already configure the cas.properties and still getting the following logs for authentication er.support.HttpBasedServiceCredentialsAuthenticationHandler@6537e53c, org.apereo.cas.authentication.AcceptUsersAuthenticationHandler@594da5db]> 2016-12-12 13:01:13,716

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-12 Thread mohammad almodallal
Hell Philippe, So how to we can configure the LDAP authentication handler? Thanks. On Monday, December 12, 2016 at 12:01:20 PM UTC+3, Philippe MARASSE wrote: > > Hello, > > No, it's neither required nor recommended with this version of CAS. > > Regards > > Le 12/12/2016 à 08:19, mohammad almod

Re: [cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-12 Thread 'Philippe MARASSE' via CAS Community
Hello, No, it's neither required nor recommended with this version of CAS. Regards Le 12/12/2016 à 08:19, mohammad almodallal a écrit : > Hello, > > should we use the deployerConfigContext.xml in CAS-5.0.0 to integrate > with Active Directory? > > Thanks. > -- > - CAS gitter chatroom: https://g

[cas-user] CAS 5.0.0 with Active Directory Authentication

2016-12-11 Thread mohammad almodallal
Hello, should we use the deployerConfigContext.xml in CAS-5.0.0 to integrate with Active Directory? Thanks. -- - 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.i