|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.ldap.handlers.bind.AbstractSaslCallbackHandler
org.apache.directory.server.ldap.handlers.bind.cramMD5.CramMd5CallbackHandler
public class CramMd5CallbackHandler
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.server.ldap.handlers.bind.AbstractSaslCallbackHandler |
|---|
adminSession, bindRequest, directoryService, ldapSession |
| Constructor Summary | |
|---|---|
CramMd5CallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.shared.ldap.message.BindRequest bindRequest)
Creates a new instance of CramMd5CallbackHandler. |
|
| Method Summary | |
|---|---|
protected void |
authorize(javax.security.sasl.AuthorizeCallback authorizeCB)
Final check to authorize user. |
protected org.apache.directory.shared.ldap.entry.EntryAttribute |
lookupPassword(java.lang.String username,
java.lang.String realm)
Implementors set the password based on a lookup, using the username and realm as keys. |
| Methods inherited from class org.apache.directory.server.ldap.handlers.bind.AbstractSaslCallbackHandler |
|---|
getContext, getEnvironment, getRealm, getUsername, handle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CramMd5CallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.shared.ldap.message.BindRequest bindRequest)
session - the mina IoSessionbindRequest - the bind messagedirectoryService - the directory service core| Method Detail |
|---|
protected org.apache.directory.shared.ldap.entry.EntryAttribute lookupPassword(java.lang.String username,
java.lang.String realm)
AbstractSaslCallbackHandler
lookupPassword in class AbstractSaslCallbackHandlerusername - The username.realm - The realm.
protected void authorize(javax.security.sasl.AuthorizeCallback authorizeCB)
AbstractSaslCallbackHandlertrue if authentication was successful.
authorize in class AbstractSaslCallbackHandlerauthorizeCB - An AuthorizeCallback.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||