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, setUser
protected String account
public FilesystemBasedFtpAuth(FtpSession session)
session
- public String getAccount()
getAccount
in interface FtpAuth
protected 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 FtpAuth
account
- 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.Reply502Exception
public void clear()
clear
in interface org.waarp.common.file.AuthInterface
clear
in class org.waarp.common.file.filesystembased.FilesystemBasedAuthImpl
public String getBaseDirectory()
getBaseDirectory
in interface org.waarp.common.file.AuthInterface
Copyright © 2009–2019 Waarp. All rights reserved.