|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
org.alfresco.filesys.auth.ftp.PassthruFtpAuthenticator
public class PassthruFtpAuthenticator
Passthru FTP Authenticator Class
Field Summary | |
---|---|
static int |
DefaultSessionTmo
|
static int |
MaxCheckInterval
|
static int |
MaxSessionTmo
|
static int |
MinCheckInterval
|
static int |
MinSessionTmo
|
static long |
PassthruKeepAliveInterval
|
Fields inherited from class org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase |
---|
logger, serverConfiguration |
Constructor Summary | |
---|---|
PassthruFtpAuthenticator()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase |
---|
checkForAdminUserName, createTransaction, destroy, getAuthenticationComponent, getAuthenticationService, getAuthorityService, getNTLMAuthenticator, getTransactionService, isActive, setActive, setAuthenticationComponent, setAuthenticationService, setAuthorityService, setConfig, setTransactionService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public PassthruFtpAuthenticator()
Method Detail |
---|
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
- ConfigElement
org.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
- FTPSrvSession
protected void doGuestLogon(AlfrescoClientInfo client, org.alfresco.jlan.server.SrvSession sess)
client
- AlfrescoClientInfosess
- SrvSessionprotected final java.lang.String mapClientAddressToDomain(java.net.InetAddress clientIP)
clientIP
- InetAddress
public void closeAuthenticator()
closeAuthenticator
in interface org.alfresco.jlan.ftp.FTPAuthenticator
closeAuthenticator
in class FTPAuthenticatorBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |