
public class R66Auth extends FilesystemBasedAuthImpl
isIdentified, password, rootFromAuth, session, user| Constructor and Description |
|---|
R66Auth(R66Session session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
businessClean()
Business implementation of clean
|
R66Auth |
clone()
To be able to store a clone of this Authentication
|
boolean |
connection(String hostId,
byte[] arg0,
boolean isSsl) |
boolean |
connectionHttps(String hostId,
byte[] arg0)
connection from HTTPS (no default rights, must be set either as admin or
specifically through ROLEs).
|
String |
getBaseDirectory()
Return the mount point
|
RoleDefault |
getRole() |
static DbHostAuth |
getServerAuth(String server) |
boolean |
isAdmin() |
boolean |
isBusinessPathValid(String newPath)
Is the given complete relative Path valid from Authentication/Business
point of view.
|
boolean |
isSsl() |
boolean |
isValidRole(RoleDefault.ROLE roleCheck) |
protected NextCommandReply |
setBusinessPassword(String arg0)
Set the password according to any implementation and could set the
rootFromAuth.
|
protected String |
setBusinessRootFromAuth() |
protected NextCommandReply |
setBusinessUser(String arg0)
Set the user according to any implementation and could set the
rootFromAuth.
|
void |
setFromClone(R66Auth source)
For same channel, no proxy, authentification from already authenticated
channel
|
protected void |
setRootFromAuth()
Set the root relative Path from current status of Authentication (should
be
the highest level for the
current authentication).
|
void |
specialNoSessionAuth(boolean isSSL,
String hostid)
Special Authentication for local execution
|
String |
toString() |
clear, getAbsolutePath, getBusinessPath, getRelativePath, getSession, getUser, isIdentified, setIsIdentified, setPassword, setUserpublic R66Auth(R66Session session)
session - public R66Auth clone()
public void setFromClone(R66Auth source)
source - IllegalStateException - if conditions are not valid to create a
correct R66Authprotected final void businessClean()
FilesystemBasedAuthImplbusinessClean in class FilesystemBasedAuthImplpublic final String getBaseDirectory()
AuthInterfaceprotected final NextCommandReply setBusinessPassword(String arg0) throws Reply421Exception
FilesystemBasedAuthImplsetBusinessPassword in class FilesystemBasedAuthImplReply421Exception - if there is a problem during the
authenticationpublic final boolean connection(String hostId, byte[] arg0, boolean isSsl) throws Reply530Exception, Reply421Exception
hostId - arg0 - Reply530Exception - if the authentication is wrongReply421Exception - If the service is not availableprotected final void setRootFromAuth()
throws Reply421Exception
setRootFromAuth in class FilesystemBasedAuthImplReply421Exception - if the business root is not availableprotected final String setBusinessRootFromAuth() throws Reply421Exception
setBusinessRootFromAuth in class FilesystemBasedAuthImplReply421Exception - if the business root is not availableprotected final NextCommandReply setBusinessUser(String arg0) throws Reply421Exception
FilesystemBasedAuthImplsetBusinessUser in class FilesystemBasedAuthImplReply421Exception - if there is a problem during the
authenticationpublic final boolean isAdmin()
public final boolean isValidRole(RoleDefault.ROLE roleCheck)
roleCheck - public final boolean isSsl()
public final boolean isBusinessPathValid(String newPath)
AuthInterfacepublic static DbHostAuth getServerAuth(String server)
server - public final void specialNoSessionAuth(boolean isSSL,
String hostid)
isSSL - hostid - public final boolean connectionHttps(String hostId, byte[] arg0) throws Reply530Exception, Reply421Exception
hostId - arg0 - Reply530Exception - if the authentication is wrongReply421Exception - If the service is not availablepublic final RoleDefault getRole()
Copyright © 2009–2022 Waarp. All rights reserved.