
public abstract class FilesystemBasedFtpAuth extends org.waarp.common.file.filesystembased.FilesystemBasedAuthImpl implements FtpAuth
| Constructor and Description |
|---|
FilesystemBasedFtpAuth(FtpSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clean object
|
String |
getAccount() |
String |
getBaseDirectory() |
org.waarp.common.command.NextCommandReply |
setAccount(String account) |
protected abstract org.waarp.common.command.NextCommandReply |
setBusinessAccount(String account)
Set the account according to any implementation and could set the rootFromAuth.
|
businessClean, getAbsolutePath, getBusinessPath, getRelativePath, getSession, getUser, isIdentified, setBusinessPassword, setBusinessRootFromAuth, setBusinessUser, setIsIdentified, setPassword, setUserprotected String account
public FilesystemBasedFtpAuth(FtpSession session)
session - public String getAccount()
getAccount in interface FtpAuthprotected abstract org.waarp.common.command.NextCommandReply setBusinessAccount(String account) throws org.waarp.common.command.exception.Reply421Exception, org.waarp.common.command.exception.Reply530Exception, org.waarp.common.command.exception.Reply502Exception
account - org.waarp.common.command.exception.Reply421Exception - if there is a problem during the authenticationorg.waarp.common.command.exception.Reply530Exception - if there is a problem during the authenticationorg.waarp.common.command.exception.Reply502Exception - if there is a problem during the authenticationpublic org.waarp.common.command.NextCommandReply setAccount(String account) throws org.waarp.common.command.exception.Reply421Exception, org.waarp.common.command.exception.Reply530Exception, org.waarp.common.command.exception.Reply502Exception
setAccount in interface FtpAuthaccount - the account to setorg.waarp.common.command.exception.Reply421Exception - if there is a problem during the authenticationorg.waarp.common.command.exception.Reply530Exception - if there is a problem during the authenticationorg.waarp.common.command.exception.Reply502Exceptionpublic void clear()
clear in interface org.waarp.common.file.AuthInterfaceclear in class org.waarp.common.file.filesystembased.FilesystemBasedAuthImplpublic String getBaseDirectory()
getBaseDirectory in interface org.waarp.common.file.AuthInterfaceCopyright © 2009–2019 Waarp. All rights reserved.