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(org.alfresco.jlan.server.auth.ClientInfo client,
org.alfresco.jlan.ftp.FTPSrvSession sess)
Authenticate the user
|
void |
closeAuthenticator()
Close the authenticator
|
protected void |
doGuestLogon(AlfrescoClientInfo client,
org.alfresco.jlan.server.SrvSession sess)
Logon using the guest user account
|
protected org.alfresco.jlan.server.config.SecurityConfigSection |
getSecurityConfig() |
void |
initialize()
Initialize the authenticator (after properties have been set)
|
void |
initialize(org.alfresco.jlan.server.config.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(org.alfresco.jlan.server.auth.passthru.PassthruServers passthruServers) |
checkForAdminUserName, createTransaction, destroy, getAuthenticationComponent, getAuthenticationService, getAuthorityService, getNTLMAuthenticator, getTransactionService, isActive, setActive, setAuthenticationComponent, setAuthenticationService, setAuthorityService, setConfig, setTransactionService
public 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 org.alfresco.jlan.server.config.SecurityConfigSection getSecurityConfig()
public void setPassthruServers(org.alfresco.jlan.server.auth.passthru.PassthruServers passthruServers)
public void initialize(org.alfresco.jlan.server.config.ServerConfiguration config, org.springframework.extensions.config.ConfigElement params) throws org.alfresco.jlan.server.config.InvalidConfigurationException
initialize
in interface org.alfresco.jlan.ftp.FTPAuthenticator
initialize
in class FTPAuthenticatorBase
config
- ServerConfigurationparams
- ConfigElementorg.alfresco.jlan.server.config.InvalidConfigurationException
public void initialize() throws org.alfresco.jlan.server.config.InvalidConfigurationException
initialize
in class FTPAuthenticatorBase
org.alfresco.jlan.server.config.InvalidConfigurationException
public boolean authenticateUser(org.alfresco.jlan.server.auth.ClientInfo client, org.alfresco.jlan.ftp.FTPSrvSession sess)
authenticateUser
in interface org.alfresco.jlan.ftp.FTPAuthenticator
authenticateUser
in class FTPAuthenticatorBase
client
- ClientInfosess
- FTPSrvSessionprotected void doGuestLogon(AlfrescoClientInfo client, org.alfresco.jlan.server.SrvSession sess)
client
- AlfrescoClientInfosess
- SrvSessionprotected final String mapClientAddressToDomain(InetAddress clientIP)
clientIP
- InetAddresspublic void closeAuthenticator()
closeAuthenticator
in interface org.alfresco.jlan.ftp.FTPAuthenticator
closeAuthenticator
in class FTPAuthenticatorBase
Copyright © 2005–2017 Alfresco Software. All rights reserved.