
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
|
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 |
isKeyValid(byte[] key) |
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.
|
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 - protected void businessClean()
FilesystemBasedAuthImplbusinessClean in class FilesystemBasedAuthImplpublic String getBaseDirectory()
AuthInterfaceprotected NextCommandReply setBusinessPassword(String arg0) throws Reply421Exception, Reply530Exception
FilesystemBasedAuthImplsetBusinessPassword in class FilesystemBasedAuthImplReply421Exception - if there is a problem during the
authenticationReply530Exception - if there is a problem during the
authenticationpublic boolean connection(String hostId, byte[] arg0, boolean isSsl) throws Reply530Exception, Reply421Exception
hostId - arg0 - Reply530Exception - if the authentication is wrongReply421Exception - If the service is not availablepublic boolean isKeyValid(byte[] key)
key - protected void setRootFromAuth()
throws Reply421Exception
setRootFromAuth in class FilesystemBasedAuthImplReply421Exception - if the business root is not availableprotected String setBusinessRootFromAuth() throws Reply421Exception
setBusinessRootFromAuth in class FilesystemBasedAuthImplReply421Exception - if the business root is not availableprotected NextCommandReply setBusinessUser(String arg0) throws Reply421Exception, Reply530Exception
FilesystemBasedAuthImplsetBusinessUser in class FilesystemBasedAuthImplReply421Exception - if there is a problem during the
authenticationReply530Exception - if there is a problem during the
authenticationpublic boolean isAdmin()
public boolean isValidRole(RoleDefault.ROLE roleCheck)
roleCheck - public boolean isSsl()
public boolean isBusinessPathValid(String newPath)
AuthInterfacepublic static DbHostAuth getServerAuth(String server)
server - public void specialNoSessionAuth(boolean isSSL,
String hostid)
isSSL - hostid - public boolean connectionHttps(String hostId, byte[] arg0) throws Reply530Exception, Reply421Exception
hostId - arg0 - Reply530Exception - if the authentication is wrongReply421Exception - If the service is not availablepublic RoleDefault getRole()
Copyright © 2009–2020 Waarp. All rights reserved.