
public class FileBasedAuth extends FilesystemBasedFtpAuth
account| Constructor and Description |
|---|
FileBasedAuth(FtpSession session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
businessClean() |
boolean |
isAdmin() |
boolean |
isBusinessPathValid(String newPath) |
protected org.waarp.common.command.NextCommandReply |
setBusinessAccount(String account)
Set the account according to any implementation and could set the rootFromAuth.
|
protected org.waarp.common.command.NextCommandReply |
setBusinessPassword(String password)
Set the password according to any implementation and could set the rootFromAuth.
|
protected String |
setBusinessRootFromAuth() |
protected org.waarp.common.command.NextCommandReply |
setBusinessUser(String user) |
clear, getAccount, getBaseDirectory, setAccountgetAbsolutePath, getBusinessPath, getRelativePath, getSession, getUser, isIdentified, setIsIdentified, setPassword, setUserpublic FileBasedAuth(FtpSession session)
session - protected void businessClean()
businessClean in class org.waarp.common.file.filesystembased.FilesystemBasedAuthImplprotected org.waarp.common.command.NextCommandReply setBusinessUser(String user) throws org.waarp.common.command.exception.Reply421Exception, org.waarp.common.command.exception.Reply530Exception
setBusinessUser in class org.waarp.common.file.filesystembased.FilesystemBasedAuthImpluser - the user 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 authenticationprotected org.waarp.common.command.NextCommandReply setBusinessPassword(String password) throws org.waarp.common.command.exception.Reply421Exception, org.waarp.common.command.exception.Reply530Exception
setBusinessPassword in class org.waarp.common.file.filesystembased.FilesystemBasedAuthImplpassword - 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 authenticationprotected org.waarp.common.command.NextCommandReply setBusinessAccount(String account) throws org.waarp.common.command.exception.Reply421Exception, org.waarp.common.command.exception.Reply530Exception
setBusinessAccount in class FilesystemBasedFtpAuthaccount - 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 authenticationpublic boolean isBusinessPathValid(String newPath)
protected String setBusinessRootFromAuth() throws org.waarp.common.command.exception.Reply421Exception
setBusinessRootFromAuth in class org.waarp.common.file.filesystembased.FilesystemBasedAuthImplorg.waarp.common.command.exception.Reply421Exceptionpublic boolean isAdmin()
Copyright © 2009–2019 Waarp. All rights reserved.