public interface LDAPClientConfiguration
LDAP client configuration.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Represents the referral policy to apply when encountering a referral. -
Method Summary
-
Method Details
-
uri
The LDAP server URI (e.g.
ldap://<host>:<port>/...
Defaults to
ldap://localhost:1389
.- Returns:
- a URI
-
authentication
The authentication choice.
Defaults to
simple
- Returns:
- the authentication choice
-
referral
Indicates whether to follow referrals, ignore them or raise exceptions.
Defaults to
LDAPClientConfiguration.ReferralPolicy.FOLLOW
.- Returns:
- the referral policy
-
admin_dn
String admin_dn()The admin user DN;
- Returns:
- the admin user DN
-
admin_credentials
String admin_credentials()The admin user credentials.
- Returns:
- admin credentials
-