|
||||||||||
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.digestMD5.DigestMd5CallbackHandler
public class DigestMd5CallbackHandler
Field Summary |
---|
Fields inherited from class org.apache.directory.server.ldap.handlers.bind.AbstractSaslCallbackHandler |
---|
adminSession, bindRequest, directoryService, ldapSession |
Constructor Summary | |
---|---|
DigestMd5CallbackHandler(LdapSession ldapSession,
CoreSession adminSession,
org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
Creates a new instance of DigestMd5CallbackHandler. |
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 DigestMd5CallbackHandler(LdapSession ldapSession, CoreSession adminSession, org.apache.directory.shared.ldap.message.internal.InternalBindRequest bindRequest)
session
- the mina IoSessionbindRequest
- the bind messagedirectoryService
- the directory service coreMethod Detail |
---|
protected org.apache.directory.shared.ldap.entry.EntryAttribute lookupPassword(java.lang.String username, java.lang.String realm)
AbstractSaslCallbackHandler
lookupPassword
in class AbstractSaslCallbackHandler
username
- The username.realm
- The realm.
protected void authorize(javax.security.sasl.AuthorizeCallback authorizeCB)
AbstractSaslCallbackHandler
true
if authentication was successful.
authorize
in class AbstractSaslCallbackHandler
authorizeCB
- An AuthorizeCallback
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |