public class NtlmMechanismHandler extends AbstractMechanismHandler
| Modifier and Type | Field and Description |
|---|---|
private NtlmProvider |
provider |
private java.lang.String |
providerFqcn |
| Constructor and Description |
|---|
NtlmMechanismHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(LdapSession ldapSession)
Remove the Host, UserBaseDn, props and Mechanism property.
|
javax.security.sasl.SaslServer |
handleMechanism(LdapSession ldapSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Implementors will use the session and message to determine what kind of
SaslServer to create and what initialization parameters it will require. |
void |
init(LdapSession ldapSession)
Initialize the saslProperties with some mechanism's specific data
|
private void |
initProvider() |
void |
setNtlmProvider(NtlmProvider provider) |
void |
setNtlmProviderFqcn(java.lang.String fqcnProvider) |
insertSaslFilterprivate java.lang.String providerFqcn
private NtlmProvider provider
public void setNtlmProvider(NtlmProvider provider)
public void setNtlmProviderFqcn(java.lang.String fqcnProvider)
public javax.security.sasl.SaslServer handleMechanism(LdapSession ldapSession, org.apache.directory.api.ldap.model.message.BindRequest bindRequest) throws java.lang.Exception
MechanismHandlerSaslServer to create and what initialization parameters it will require.SaslServer to use for the duration of the bound session.java.lang.Exceptionprivate void initProvider()
throws java.lang.Exception
java.lang.Exceptionpublic void init(LdapSession ldapSession)
ldapSession - the Ldapsession instancepublic void cleanup(LdapSession ldapSession)
ldapSession - the LdapSession instance