
public class FileBasedAuth extends FilesystemBasedFtpAuth implements HttpAuthInterface
accountisIdentified, password, rootFromAuth, session, user| Constructor and Description |
|---|
FileBasedAuth(FtpSession session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
businessClean()
Business implementation of clean
|
AbstractExecutor.CommandExecutor |
getCommandExecutor() |
long |
getSpecialId() |
boolean |
isAdmin() |
boolean |
isBusinessPathValid(String newPath)
Is the given complete relative Path valid from Authentication/Business
point of view.
|
protected NextCommandReply |
setBusinessAccount(String account)
Set the account according to any implementation and could set the
rootFromAuth.
|
protected NextCommandReply |
setBusinessPassword(String password)
Set the password according to any implementation and could set the
rootFromAuth.
|
protected String |
setBusinessRootFromAuth() |
protected NextCommandReply |
setBusinessUser(String user)
Set the user according to any implementation and could set the
rootFromAuth.
|
void |
setSpecialId(long specialId) |
void |
specialNoSessionAuth(String hostid)
Special Authentication for local execution
|
clear, getAccount, getBaseDirectory, setAccount, setRootFromAuthgetAbsolutePath, getBusinessPath, getRelativePath, getSession, getUser, isIdentified, setIsIdentified, setPassword, setUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccount, setAccountclear, getBaseDirectory, getBusinessPath, getRelativePath, getSession, getUser, isIdentified, setPassword, setUserpublic FileBasedAuth(FtpSession session)
session - protected final void businessClean()
FilesystemBasedAuthImplbusinessClean in class FilesystemBasedAuthImplprotected final NextCommandReply setBusinessUser(String user) throws Reply530Exception
FilesystemBasedAuthImplsetBusinessUser in class FilesystemBasedAuthImpluser - the user to setReply421Exception - if there is a problem during the
authenticationReply530Exception - if there is a problem during the
authenticationprotected final NextCommandReply setBusinessPassword(String password) throws Reply530Exception
setBusinessPassword in class FilesystemBasedAuthImplpassword - Reply421Exception - if there is a problem during the
authenticationReply530Exception - if there is a problem during the
authenticationprotected final NextCommandReply setBusinessAccount(String account) throws Reply530Exception
setBusinessAccount in class FilesystemBasedFtpAuthaccount - Reply421Exception - if there is a problem during the
authenticationReply530Exception - if there is a problem during the
authenticationpublic final boolean isBusinessPathValid(String newPath)
AuthInterfaceisBusinessPathValid in interface AuthInterfaceprotected final String setBusinessRootFromAuth() throws Reply421Exception
setBusinessRootFromAuth in class FilesystemBasedAuthImplReply421Exception - if the business root is not availablepublic final boolean isAdmin()
isAdmin in interface AuthInterfacepublic final void specialNoSessionAuth(String hostid)
hostid - public final long getSpecialId()
public final void setSpecialId(long specialId)
specialId - the specialId to setpublic final AbstractExecutor.CommandExecutor getCommandExecutor()
getCommandExecutor in interface HttpAuthInterfaceCopyright © 2009–2022 Waarp. All rights reserved.