|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthInterface

Interface for Authentication
| Method Summary | |
|---|---|
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)
|
| Method Detail |
|---|
SessionInterface getSession()
NextCommandReply setUser(String user)
throws Reply421Exception,
Reply530Exception
user - the user to set
Reply421Exception - if there is a problem during the authentication
Reply530Exception - if there is a problem during the authenticationString getUser()
NextCommandReply setPassword(String password)
throws Reply421Exception,
Reply530Exception
password - the password to set
Reply421Exception - if there is a problem during the authentication
Reply530Exception - 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||