...
The functions searchUser()
, getGroups()
, getGroupMembers()
need bind credentials and will only work in AD DS environments.
Sample Configuration for authentication against an ADS-Domain
Anchor | ||||
---|---|---|---|---|
|
The following sample configuration is the most common configuration OSGi configuration in PID org.clazzes.login.ldap
, which allows you to authenticate users against an Active Directory Domain.
All you need to know is the Windows/NetBIOS Name of your domain and the corresponding DNS name used to physically locate the Active Directory server.
In our example we use EXAMPLE
as the Windows/NetBIOS domain name with its DNS counterpart example.com
.
Key | Value |
---|---|
defaultDomain | EXAMPLE |
domain.EXAMPLE.controllerUri | ads://example.com |
domain.EXAMPLE.authMethod | bindAds |
Detailed Configuration
The LDAP login service may be configured using the OSGi configuration PID org.clazzes.login.ldap
using these configuration values:
...