public class LdapLoginConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BIND_METHOD |
static long |
FIVE_MIN_MS |
static int |
FIVE_MIN_S |
static String |
GROUP_BASE_DN |
static String |
KDC_ADDRESS |
static String |
LDAP_BIND_USER_DN |
static String |
LDAP_BIND_USER_PASS |
static String |
LDAP_URL |
static String |
REALM |
static String |
START_TLS |
static String |
USER_BASE_DN |
Constructor and Description |
---|
LdapLoginConfig(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
void |
configure() |
protected org.forgerock.opendj.ldap.LDAPConnectionFactory |
createLdapConnectionFactory(String url,
Boolean startTls) |
void |
destroy(int arg) |
SSLContext |
getSslContext() |
void |
setBindMethod(String bindMethod) |
void |
setGroupBaseDn(String groupBaseDn) |
void |
setKdcAddress(String kdcAddress) |
void |
setLdapBindUserDn(String ldapBindUserDn) |
void |
setLdapBindUserPass(String bindUserPass) |
void |
setLdapService(LdapService ldapService) |
void |
setLdapUrl(String ldapUrl) |
void |
setLoginUserAttribute(String loginUserAttribute) |
void |
setMembershipUserAttribute(String membershipUserAttribute) |
void |
setRealm(String realm) |
void |
setSslContext(SSLContext sslContext) |
void |
setStartTls(boolean startTls) |
void |
setStartTls(String startTls) |
void |
setUserBaseDn(String userBaseDn) |
void |
update(Map<String,?> props)
Update method that receives new properties.
|
public static final String LDAP_BIND_USER_DN
public static final String LDAP_BIND_USER_PASS
public static final String LDAP_URL
public static final String BIND_METHOD
public static final String USER_BASE_DN
public static final String GROUP_BASE_DN
public static final String START_TLS
public static final String REALM
public static final String KDC_ADDRESS
public static final long FIVE_MIN_MS
public static final int FIVE_MIN_S
public void update(Map<String,?> props)
props
- Map of properties.protected org.forgerock.opendj.ldap.LDAPConnectionFactory createLdapConnectionFactory(String url, Boolean startTls)
public void setLdapBindUserDn(String ldapBindUserDn)
public void setLdapBindUserPass(String bindUserPass)
public void setLdapUrl(String ldapUrl)
public void setUserBaseDn(String userBaseDn)
public void setGroupBaseDn(String groupBaseDn)
public void setStartTls(boolean startTls)
public void setStartTls(String startTls)
public void setLoginUserAttribute(String loginUserAttribute)
public void setMembershipUserAttribute(String membershipUserAttribute)
public void setBindMethod(String bindMethod)
public void setRealm(String realm)
public void setKdcAddress(String kdcAddress)
public void configure()
public void setSslContext(SSLContext sslContext)
public SSLContext getSslContext()
public void destroy(int arg)
public void setLdapService(LdapService ldapService)
This work is licensed under a Creative Commons Attribution 4.0 International License.