org.alfresco.filesys.auth.ftp
Class AlfrescoFtpAuthenticator

java.lang.Object
  extended by org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
      extended by 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


Field Summary
protected  org.alfresco.jlan.server.auth.PasswordEncryptor m_encryptor
           
protected  MD4PasswordEncoder m_md4Encoder
           
 
Fields inherited from class org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
logger, serverConfiguration
 
Constructor Summary
AlfrescoFtpAuthenticator()
           
 
Method Summary
 boolean authenticateUser(org.alfresco.jlan.server.auth.ClientInfo client, org.alfresco.jlan.ftp.FTPSrvSession sess)
          Authenticate the user
protected  void doGuestLogon(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, getNTLMAuthenticator, getTransactionService, initialize, initialize, 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

m_md4Encoder

protected MD4PasswordEncoder m_md4Encoder

m_encryptor

protected org.alfresco.jlan.server.auth.PasswordEncryptor m_encryptor
Constructor Detail

AlfrescoFtpAuthenticator

public AlfrescoFtpAuthenticator()
Method Detail

authenticateUser

public boolean authenticateUser(org.alfresco.jlan.server.auth.ClientInfo client,
                                org.alfresco.jlan.ftp.FTPSrvSession sess)
Authenticate the user

Specified by:
authenticateUser in interface org.alfresco.jlan.ftp.FTPAuthenticator
Specified by:
authenticateUser in class FTPAuthenticatorBase
Parameters:
client - ClientInfo
sess - FTPSrvSession
Returns:
boolean

doGuestLogon

protected void doGuestLogon(AlfrescoClientInfo client,
                            org.alfresco.jlan.server.SrvSession sess)
Logon using the guest user account

Parameters:
client - AlfrescoClientInfo
sess - SrvSession


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.