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
Alfresco FTP Authenticator Class
- Author:
- gkspencer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.alfresco.jlan.server.auth.PasswordEncryptorprotected MD4PasswordEncoderFields inherited from class org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
logger, serverConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticateUser(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 accountMethods 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 Details
-
m_md4Encoder
-
m_encryptor
protected org.alfresco.jlan.server.auth.PasswordEncryptor m_encryptor
-
-
Constructor Details
-
AlfrescoFtpAuthenticator
public AlfrescoFtpAuthenticator()
-
-
Method Details
-
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
Logon using the guest user account- Parameters:
client- AlfrescoClientInfosess- SrvSession
-