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
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
-
Field Summary
Fields 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 info, org.alfresco.jlan.ftp.FTPSrvSession sess) Authenticate the userprotected abstract List<FTPAuthenticatorBase>Gets the FTP authenticators across which methods will chain.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
-
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:FTPAuthenticatorBaseAuthenticate the user- Specified by:
authenticateUserin interfaceorg.alfresco.jlan.ftp.FTPAuthenticator- Specified by:
authenticateUserin classFTPAuthenticatorBase- Parameters:
info- ClientInfosess- FTPSrvSession- Returns:
- boolean
-
getUsableFtpAuthenticators
Gets the FTP authenticators across which methods will chain.- Returns:
- the usable FTP authenticators
-