public class CramMd5CallbackHandler extends AbstractSaslCallbackHandler
adminSession, bindRequest, directoryService, ldapSession| Constructor and Description |
|---|
CramMd5CallbackHandler(LdapSession ldapSession,
org.apache.directory.server.core.api.CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Creates a new instance of CramMd5CallbackHandler.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
authorize(AuthorizeCallback authorizeCB)
Final check to authorize user.
|
protected org.apache.directory.api.ldap.model.entry.Attribute |
lookupPassword(String username,
String realm)
Implementors set the password based on a lookup, using the username and
realm as keys.
|
getContext, getEnvironment, getRealm, getUsername, handlepublic CramMd5CallbackHandler(LdapSession ldapSession, org.apache.directory.server.core.api.CoreSession adminSession, org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
ldapSession - the mina IoSessionadminSession - the admin sessionbindRequest - the bind messageprotected org.apache.directory.api.ldap.model.entry.Attribute lookupPassword(String username, String realm)
AbstractSaslCallbackHandlerlookupPassword in class AbstractSaslCallbackHandlerusername - The username.realm - The realm.protected void authorize(AuthorizeCallback authorizeCB)
AbstractSaslCallbackHandlertrue if authentication was successful.authorize in class AbstractSaslCallbackHandlerauthorizeCB - An AuthorizeCallback.Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.