public class GssapiCallbackHandler extends AbstractSaslCallbackHandler
adminSession, bindRequest, directoryService, ldapSession| Constructor and Description |
|---|
GssapiCallbackHandler(LdapSession ldapSession,
org.apache.directory.server.core.api.CoreSession adminSession,
org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
Creates a new instance of GssapiCallbackHandler.
|
| 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 password)
Implementors set the password based on a lookup, using the username and
realm as keys.
|
getContext, getEnvironment, getRealm, getUsername, handlepublic GssapiCallbackHandler(LdapSession ldapSession, org.apache.directory.server.core.api.CoreSession adminSession, org.apache.directory.api.ldap.model.message.BindRequest bindRequest)
ldapSession - the mina IO sessionadminSession - the admin sessionbindRequest - the bind messageprotected org.apache.directory.api.ldap.model.entry.Attribute lookupPassword(String username, String password)
AbstractSaslCallbackHandlerlookupPassword in class AbstractSaslCallbackHandlerusername - The username.password - The realm.protected void authorize(AuthorizeCallback authorizeCB) throws Exception
AbstractSaslCallbackHandlertrue if authentication was successful.authorize in class AbstractSaslCallbackHandlerauthorizeCB - An AuthorizeCallback.ExceptionCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.