Page 1 of 1

Multiple Authentication

PostPosted:Thu Mar 21, 2019 4:11 am
by vaajayashanka
Hi,

I'm using community version. So I want to do some modification to Security level like multiple authentication.
When a user enter user credentials, it will check in LDAP and if it failed then check in Database.

Can someone help me on how to do this? Hope my question is understandable. :)

Thanks
Amila

Re: Multiple Authentication

PostPosted:Sat Mar 23, 2019 8:37 am
by jllort
First of all should success configuring OpenKM.xml , the key in google is "spring security multiple authentication provider", for example this url might give you some clue https://www.baeldung.com/spring-securit ... -providers

When you success with multiple provider login I will explain the second step, what will be the creation of a new class based in LdapPrincipalAdapter class ( first must sucess with OpenKM.xml ).

Re: Multiple Authentication

PostPosted:Tue Apr 02, 2019 6:50 am
by vaajayashanka
jllort wrote: Sat Mar 23, 2019 8:37 am First of all should success configuring OpenKM.xml , the key in google is "spring security multiple authentication provider", for example this url might give you some clue https://www.baeldung.com/spring-securit ... -providers

When you success with multiple provider login I will explain the second step, what will be the creation of a new class based in LdapPrincipalAdapter class ( first must sucess with OpenKM.xml ).
Hi jllort,

Thank you for the reply and assistance. Actually What I'm trying to do is, SSO integration with windows AD for OpenKM community version. Is there any good articles for this to follow up

Thanks
Amila

Re: Multiple Authentication

PostPosted:Fri Apr 05, 2019 4:20 pm
by jllort
This one https://docs.openkm.com/kcenter/view/ok ... ation.html but is for professional edition and I think it is necessary some change in the OpenKM source code to get it running, I'm not 100% sure about this point