Class Overview
Mock user Manager for testing
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
org.apache.ftpserver.ftplet.UserManager
|
abstract
User
|
authenticate(Authentication arg0)
|
|
abstract
void
|
delete(String arg0)
|
|
abstract
boolean
|
doesExist(String arg0)
|
|
abstract
String
|
getAdminName()
|
|
abstract
String[]
|
getAllUserNames()
|
|
abstract
User
|
getUserByName(String arg0)
|
|
abstract
boolean
|
isAdmin(String arg0)
|
|
abstract
void
|
save(User arg0)
|
|
Public Constructors
public
MockUserManager
()
Public Methods
public
User
authenticate
(Authentication authentication)
Throws
| AuthenticationFailedException
| |
public
boolean
doesExist
(String s)
public
User
getUserByName
(String s)
public
boolean
isAdmin
(String s)
public
void
save
(User user)