Class AbstractChainingFtpAuthenticator

java.lang.Object
org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
org.alfresco.repo.security.authentication.AbstractChainingFtpAuthenticator
All Implemented Interfaces:
org.alfresco.jlan.ftp.FTPAuthenticator, ActivateableBean, org.springframework.beans.factory.DisposableBean
Direct Known Subclasses:
SubsystemChainingFtpAuthenticator

public abstract class AbstractChainingFtpAuthenticator extends FTPAuthenticatorBase
Base chaining FTP Authenticator class. Where appropriate, methods will 'chain' across multiple FTPAuthenticatorBase instances, as returned by getUsableFtpAuthenticators().
Since:
4.2.1
Author:
alex.mukha
  • Constructor Details

    • AbstractChainingFtpAuthenticator

      public AbstractChainingFtpAuthenticator()
  • Method Details

    • authenticateUser

      public boolean authenticateUser(org.alfresco.jlan.server.auth.ClientInfo info, org.alfresco.jlan.ftp.FTPSrvSession sess)
      Description copied from class: FTPAuthenticatorBase
      Authenticate the user
      Specified by:
      authenticateUser in interface org.alfresco.jlan.ftp.FTPAuthenticator
      Specified by:
      authenticateUser in class FTPAuthenticatorBase
      Parameters:
      info - ClientInfo
      sess - FTPSrvSession
      Returns:
      boolean
    • getUsableFtpAuthenticators

      protected abstract List<FTPAuthenticatorBase> getUsableFtpAuthenticators()
      Gets the FTP authenticators across which methods will chain.
      Returns:
      the usable FTP authenticators