Package org.alfresco.filesys.auth.ftp
Class AlfrescoFtpAuthenticator
- java.lang.Object
-
- org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
-
- org.alfresco.filesys.auth.ftp.AlfrescoFtpAuthenticator
-
- All Implemented Interfaces:
org.alfresco.jlan.ftp.FTPAuthenticator,ActivateableBean,org.springframework.beans.factory.DisposableBean
public class AlfrescoFtpAuthenticator extends FTPAuthenticatorBase
Alfresco FTP Authenticator Class- Author:
- gkspencer
-
-
Field Summary
Fields Modifier and Type Field Description protected org.alfresco.jlan.server.auth.PasswordEncryptorm_encryptorprotected MD4PasswordEncoderm_md4Encoder-
Fields inherited from class org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
logger, serverConfiguration
-
-
Constructor Summary
Constructors Constructor Description AlfrescoFtpAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanauthenticateUser(org.alfresco.jlan.server.auth.ClientInfo client, org.alfresco.jlan.ftp.FTPSrvSession sess)Authenticate the userprotected voiddoGuestLogon(AlfrescoClientInfo client, org.alfresco.jlan.server.SrvSession sess)Logon using the guest user account-
Methods inherited from class org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
checkForAdminUserName, closeAuthenticator, createTransaction, destroy, getAuthenticationComponent, getAuthenticationService, getAuthorityService, getTransactionService, initialize, initialize, isActive, setActive, setAuthenticationComponent, setAuthenticationService, setAuthorityService, setConfig, setTransactionService
-
-
-
-
Field Detail
-
m_md4Encoder
protected MD4PasswordEncoder m_md4Encoder
-
m_encryptor
protected org.alfresco.jlan.server.auth.PasswordEncryptor m_encryptor
-
-
Method Detail
-
authenticateUser
public boolean authenticateUser(org.alfresco.jlan.server.auth.ClientInfo client, org.alfresco.jlan.ftp.FTPSrvSession sess)Authenticate the user- Specified by:
authenticateUserin interfaceorg.alfresco.jlan.ftp.FTPAuthenticator- Specified by:
authenticateUserin classFTPAuthenticatorBase- Parameters:
client- ClientInfosess- FTPSrvSession- Returns:
- boolean
-
doGuestLogon
protected void doGuestLogon(AlfrescoClientInfo client, org.alfresco.jlan.server.SrvSession sess)
Logon using the guest user account- Parameters:
client- AlfrescoClientInfosess- SrvSession
-
-