public class UsersRepositoryAuthHook extends Object implements org.apache.james.protocols.smtp.hook.AuthHook
Constructor and Description |
---|
UsersRepositoryAuthHook() |
Modifier and Type | Method and Description |
---|---|
org.apache.james.protocols.smtp.hook.HookResult |
doAuth(org.apache.james.protocols.smtp.SMTPSession session,
String username,
String password) |
UsersRepository |
getUsers()
Gets the users repository.
|
void |
setUsers(UsersRepository users)
Sets the users repository.
|
public final UsersRepository getUsers()
public final void setUsers(UsersRepository users)
users
- the users to setpublic org.apache.james.protocols.smtp.hook.HookResult doAuth(org.apache.james.protocols.smtp.SMTPSession session, String username, String password)
doAuth
in interface org.apache.james.protocols.smtp.hook.AuthHook
AuthHook.doAuth(org.apache.james.protocols.smtp.SMTPSession,
java.lang.String, java.lang.String)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.