public class NtlmMechanismHandler extends AbstractMechanismHandler
Constructor and Description |
---|
NtlmMechanismHandler() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(LdapSession ldapSession)
Remove the Host, UserBaseDn, props and Mechanism property.
|
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
|
void |
setNtlmProvider(NtlmProvider provider) |
void |
setNtlmProviderFqcn(String fqcnProvider) |
insertSaslFilter
public NtlmMechanismHandler()
public void setNtlmProvider(NtlmProvider provider)
public void setNtlmProviderFqcn(String fqcnProvider)
public SaslServer handleMechanism(LdapSession ldapSession, org.apache.directory.api.ldap.model.message.BindRequest bindRequest) throws Exception
MechanismHandler
SaslServer
to create and what initialization parameters it will require.ldapSession
- The LdapSession in usebindRequest
- The BindRequestSaslServer
to use for the duration of the bound session.Exception
- If we can't find the SASL Mechanismpublic void init(LdapSession ldapSession)
ldapSession
- the Ldapsession instancepublic void cleanup(LdapSession ldapSession)
ldapSession
- the LdapSession instanceCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.