|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ftpserver.usermanager.impl.BaseUser
public class BaseUser
Internal class, do not use directly. Generic user class. The user attributes are:
| Constructor Summary | |
|---|---|
BaseUser()
Default constructor. |
|
BaseUser(User user)
Copy constructor. |
|
| Method Summary | |
|---|---|
AuthorizationRequest |
authorize(AuthorizationRequest request)
|
java.util.List<Authority> |
getAuthorities()
|
java.util.List<Authority> |
getAuthorities(java.lang.Class<? extends Authority> clazz)
|
boolean |
getEnabled()
Get the user enable status. |
java.lang.String |
getHomeDirectory()
Get the user home directory. |
int |
getMaxIdleTime()
Get the maximum idle time in second. |
java.lang.String |
getName()
Get the user name. |
java.lang.String |
getPassword()
Get the user password. |
void |
setAuthorities(java.util.List<Authority> authorities)
|
void |
setEnabled(boolean enb)
Set the user enable status. |
void |
setHomeDirectory(java.lang.String home)
Set the user home directory. |
void |
setMaxIdleTime(int idleSec)
Set the maximum idle time in second. |
void |
setName(java.lang.String name)
Set user name. |
void |
setPassword(java.lang.String pass)
Set user password. |
java.lang.String |
toString()
String representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseUser()
public BaseUser(User user)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Userpublic void setName(java.lang.String name)
public java.lang.String getPassword()
getPassword in interface Userpublic void setPassword(java.lang.String pass)
public java.util.List<Authority> getAuthorities()
getAuthorities in interface Userpublic void setAuthorities(java.util.List<Authority> authorities)
public int getMaxIdleTime()
getMaxIdleTime in interface Userpublic void setMaxIdleTime(int idleSec)
public boolean getEnabled()
getEnabled in interface Userpublic void setEnabled(boolean enb)
public java.lang.String getHomeDirectory()
getHomeDirectory in interface Userpublic void setHomeDirectory(java.lang.String home)
public java.lang.String toString()
toString in class java.lang.Objectpublic AuthorizationRequest authorize(AuthorizationRequest request)
authorize in interface Userpublic java.util.List<Authority> getAuthorities(java.lang.Class<? extends Authority> clazz)
getAuthorities in interface User
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||