Multiple Authentication

He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
vaajayashanka
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Thu Mar 21, 2019 4:01 am

Multiple Authentication

Post by vaajayashanka » Thu Mar 21, 2019 4:11 am

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

jllort
Moderator
Moderator
Posts: 10672
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Multiple Authentication

Post by jllort » 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 ).

vaajayashanka
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Thu Mar 21, 2019 4:01 am

Re: Multiple Authentication

Post by vaajayashanka » Tue Apr 02, 2019 6:50 am

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

jllort
Moderator
Moderator
Posts: 10672
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Multiple Authentication

Post by jllort » Fri Apr 05, 2019 4:20 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest