• active directory for login authentication only

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #29061  by vickycherala4751
 
Hi,

Need to configure openkm to use active directory for login authentication only, without creating group in active directory. So please suggest me how to configure openkm without creating groups in active directory only using for login authentication.

Thanks,
Vittal
 #29095  by vickycherala4751
 
Hi,

I am able to list users from active directory, i configured without using groups from active directory for authentication. But users list shows that they doesn't belong to any local group(ROLE_ADMIN, ROLE_USER). How to add these active directory users to local group in OpenKM?

Thanks,
Vittal
 #29097  by jllort
 
Really you need something more than a PrincipalAdapter you need to create your own SpringSecurity Adapter, by default we use org.springframework.security.ldap.authentication.LdapAuthenticationProvider what gives roles from AD ( there're also two classes more with spring ). You should implement your own classes to take ldap roles from database based on user id.

Based on default LDAP Authentication provider you should take a look for modify and create your own. Here some starting point http://www.baeldung.com/spring-security ... n-provider

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.