public class PassthruFtpAuthenticator extends FTPAuthenticatorBase
| Modifier and Type | Field and Description |
|---|---|
static int |
DefaultSessionTmo |
static int |
MaxCheckInterval |
static int |
MaxSessionTmo |
static int |
MinCheckInterval |
static int |
MinSessionTmo |
static long |
PassthruKeepAliveInterval |
logger, serverConfiguration| Constructor and Description |
|---|
PassthruFtpAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticateUser(ClientInfo client,
FTPSrvSession sess)
Authenticate the user
|
void |
closeAuthenticator()
Close the authenticator
|
protected void |
doGuestLogon(AlfrescoClientInfo client,
SrvSession sess)
Logon using the guest user account
|
protected SecurityConfigSection |
getSecurityConfig() |
void |
initialize()
Initialize the authenticator (after properties have been set)
|
void |
initialize(ServerConfiguration config,
org.springframework.extensions.config.ConfigElement params)
Initialize the authenticator
|
protected String |
mapClientAddressToDomain(InetAddress clientIP)
Map a client IP address to a domain
|
void |
setPassthruServers(PassthruServers passthruServers) |
checkForAdminUserName, createTransaction, destroy, getAuthenticationComponent, getAuthenticationService, getAuthorityService, getNTLMAuthenticator, getTransactionService, isActive, setActive, setAuthenticationComponent, setAuthenticationService, setAuthorityService, setConfig, setTransactionServicepublic static final int DefaultSessionTmo
public static final int MinSessionTmo
public static final int MaxSessionTmo
public static final int MinCheckInterval
public static final int MaxCheckInterval
public static final long PassthruKeepAliveInterval
protected SecurityConfigSection getSecurityConfig()
public void setPassthruServers(PassthruServers passthruServers)
public void initialize(ServerConfiguration config, org.springframework.extensions.config.ConfigElement params) throws InvalidConfigurationException
initialize in interface FTPAuthenticatorinitialize in class FTPAuthenticatorBaseconfig - ServerConfigurationparams - ConfigElementInvalidConfigurationExceptionpublic void initialize()
throws InvalidConfigurationException
initialize in class FTPAuthenticatorBaseInvalidConfigurationExceptionpublic boolean authenticateUser(ClientInfo client, FTPSrvSession sess)
authenticateUser in interface FTPAuthenticatorauthenticateUser in class FTPAuthenticatorBaseclient - ClientInfosess - FTPSrvSessionprotected void doGuestLogon(AlfrescoClientInfo client, SrvSession sess)
client - AlfrescoClientInfosess - SrvSessionprotected final String mapClientAddressToDomain(InetAddress clientIP)
clientIP - InetAddresspublic void closeAuthenticator()
closeAuthenticator in interface FTPAuthenticatorcloseAuthenticator in class FTPAuthenticatorBaseCopyright © 2005–2014 Alfresco Software. All rights reserved.