|
||||||||||
| 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.DigestMd5CallbackHandler
public class DigestMd5CallbackHandler
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.server.ldap.handlers.bind.AbstractSaslCallbackHandler |
|---|
directoryService |
| Constructor Summary | |
|---|---|
DigestMd5CallbackHandler(DirectoryService directoryService,
org.apache.mina.common.IoSession session,
org.apache.directory.shared.ldap.message.BindRequest bindRequest)
Creates a new instance of DigestMd5CallbackHandler. |
|
| Method Summary | |
|---|---|
protected void |
authorize(javax.security.sasl.AuthorizeCallback authorizeCB)
Final check to authorize user. |
protected java.lang.String |
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 DigestMd5CallbackHandler(DirectoryService directoryService,
org.apache.mina.common.IoSession session,
org.apache.directory.shared.ldap.message.BindRequest bindRequest)
session - the mina IoSessionbindRequest - the bind messagedirectoryService - the directory service core| Method Detail |
|---|
protected java.lang.String 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 | |||||||||