public interface AuthInterface
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clean object
|
String |
getBaseDirectory()
Return the mount point
|
String |
getBusinessPath()
Return the relative path for this account according to the Business
(without true root of mount).
|
String |
getRelativePath(String file)
Return the relative path from a file (without mount point)
|
SessionInterface |
getSession() |
String |
getUser() |
boolean |
isAdmin() |
boolean |
isBusinessPathValid(String newPath)
Is the given complete relative Path valid from Authentication/Business
point of view.
|
boolean |
isIdentified()
Is the current Authentication OK for full identification.
|
NextCommandReply |
setPassword(String password) |
NextCommandReply |
setUser(String user) |
SessionInterface getSession()
NextCommandReply setUser(String user) throws Reply421Exception, Reply530Exception
user
- the user to setReply421Exception
- if there is a problem during the
authenticationReply530Exception
- if there is a problem during the
authenticationString getUser()
NextCommandReply setPassword(String password) throws Reply421Exception, Reply530Exception
password
- the password to setReply421Exception
- if there is a problem during the
authenticationReply530Exception
- if there is a problem during the
authenticationboolean isIdentified()
boolean isAdmin()
boolean isBusinessPathValid(String newPath)
newPath
- String getBusinessPath()
String getBaseDirectory()
String getRelativePath(String file)
file
- (full path with mount point)void clear()
Copyright © 2009–2020 Waarp. All rights reserved.