
public abstract class FilesystemBasedFtpAuth extends FilesystemBasedAuthImpl implements FtpAuth
| Modifier and Type | Field and Description |
|---|---|
protected String |
account
Account name
|
isIdentified, password, rootFromAuth, session, user| Modifier | Constructor and Description |
|---|---|
protected |
FilesystemBasedFtpAuth(FtpSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clean object
|
String |
getAccount() |
String |
getBaseDirectory()
Return the mount point
|
NextCommandReply |
setAccount(String account) |
protected abstract NextCommandReply |
setBusinessAccount(String account)
Set the account according to any implementation and could set the
rootFromAuth.
|
protected void |
setRootFromAuth()
Set the root relative Path from current status of Authentication (should
be
the highest level for the
current authentication).
|
businessClean, getAbsolutePath, getBusinessPath, getRelativePath, getSession, getUser, isIdentified, setBusinessPassword, setBusinessRootFromAuth, setBusinessUser, setIsIdentified, setPassword, setUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBusinessPath, getRelativePath, getSession, getUser, isAdmin, isBusinessPathValid, isIdentified, setPassword, setUserprotected String account
protected FilesystemBasedFtpAuth(FtpSession session)
session - public String getAccount()
getAccount in interface FtpAuthprotected abstract NextCommandReply setBusinessAccount(String account) throws Reply421Exception, Reply530Exception, Reply502Exception
account - Reply421Exception - if there is a problem during the
authenticationReply530Exception - if there is a problem during the
authenticationReply502Exception - if there is a problem during the
authenticationpublic NextCommandReply setAccount(String account) throws Reply421Exception, Reply530Exception, Reply502Exception
setAccount in interface FtpAuthaccount - the account to setReply421Exception - if there is a problem during the
authenticationReply530Exception - if there is a problem during the
authenticationReply502Exceptionprotected void setRootFromAuth()
throws Reply421Exception
setRootFromAuth in class FilesystemBasedAuthImplReply421Exception - if the business root is not availablepublic void clear()
clear in interface AuthInterfaceclear in class FilesystemBasedAuthImplpublic String getBaseDirectory()
AuthInterfacegetBaseDirectory in interface AuthInterfaceCopyright © 2009–2020 Waarp. All rights reserved.