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 multipleFTPAuthenticatorBaseinstances, as returned bygetUsableFtpAuthenticators().- Since:
- 4.2.1
- Author:
- alex.mukha
-
-
Field Summary
-
Fields inherited from class org.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
logger, serverConfiguration
-
-
Constructor Summary
Constructors Constructor Description AbstractChainingFtpAuthenticator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanauthenticateUser(org.alfresco.jlan.server.auth.ClientInfo info, org.alfresco.jlan.ftp.FTPSrvSession sess)Authenticate the userprotected abstract java.util.List<FTPAuthenticatorBase>getUsableFtpAuthenticators()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
-
-
-
-
Method Detail
-
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
protected abstract java.util.List<FTPAuthenticatorBase> getUsableFtpAuthenticators()
Gets the FTP authenticators across which methods will chain.- Returns:
- the usable FTP authenticators
-
-