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 java.lang.String |
mapClientAddressToDomain(java.net.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, 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 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.FTPAuthenticatorinitialize in class FTPAuthenticatorBaseconfig - ServerConfigurationparams - ConfigElementorg.alfresco.jlan.server.config.InvalidConfigurationExceptionpublic void initialize()
throws org.alfresco.jlan.server.config.InvalidConfigurationException
initialize in class FTPAuthenticatorBaseorg.alfresco.jlan.server.config.InvalidConfigurationExceptionpublic boolean authenticateUser(org.alfresco.jlan.server.auth.ClientInfo client,
org.alfresco.jlan.ftp.FTPSrvSession sess)
authenticateUser in interface org.alfresco.jlan.ftp.FTPAuthenticatorauthenticateUser in class FTPAuthenticatorBaseclient - ClientInfosess - FTPSrvSessionprotected void doGuestLogon(AlfrescoClientInfo client, org.alfresco.jlan.server.SrvSession sess)
client - AlfrescoClientInfosess - SrvSessionprotected final java.lang.String mapClientAddressToDomain(java.net.InetAddress clientIP)
clientIP - InetAddresspublic void closeAuthenticator()
closeAuthenticator in interface org.alfresco.jlan.ftp.FTPAuthenticatorcloseAuthenticator in class FTPAuthenticatorBaseCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.