|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.filesys.auth.ftp.FTPAuthenticatorBase
public abstract class FTPAuthenticatorBase
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
logger
|
protected org.alfresco.jlan.server.config.ServerConfigurationAccessor |
serverConfiguration
|
Constructor Summary | |
---|---|
FTPAuthenticatorBase()
Default constructor |
Method Summary | |
---|---|
abstract boolean |
authenticateUser(org.alfresco.jlan.server.auth.ClientInfo info,
org.alfresco.jlan.ftp.FTPSrvSession sess)
Authenticate the user |
protected void |
checkForAdminUserName(org.alfresco.jlan.server.auth.ClientInfo cInfo)
Check if the user is an administrator user name |
void |
closeAuthenticator()
Close the authenticator, perform any cleanup |
protected javax.transaction.UserTransaction |
createTransaction()
Create a transaction, this will be a wrteable transaction unless the system is in read-only mode. |
void |
destroy()
Handle tidy up on container shutdown |
protected AuthenticationComponent |
getAuthenticationComponent()
Return the authentication componenet |
protected AuthenticationService |
getAuthenticationService()
Return the authentication service |
protected AuthorityService |
getAuthorityService()
Return the authority service |
protected NLTMAuthenticator |
getNTLMAuthenticator()
Returns an SSO-enabled authentication component. |
protected TransactionService |
getTransactionService()
Return the transaction service |
void |
initialize()
Initialize the authenticator (after properties have been set) |
void |
initialize(org.alfresco.jlan.server.config.ServerConfiguration config,
org.springframework.extensions.config.ConfigElement params)
Initialize the authenticator |
boolean |
isActive()
Determines whether this bean is active. |
void |
setActive(boolean active)
Activates or deactivates the bean. |
void |
setAuthenticationComponent(AuthenticationComponent authenticationComponent)
|
void |
setAuthenticationService(AuthenticationService authenticationService)
|
void |
setAuthorityService(AuthorityService authorityService)
|
void |
setConfig(org.alfresco.jlan.server.config.ServerConfigurationAccessor config)
|
void |
setTransactionService(TransactionService transactionService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log logger
protected org.alfresco.jlan.server.config.ServerConfigurationAccessor serverConfiguration
Constructor Detail |
---|
public FTPAuthenticatorBase()
Method Detail |
---|
public void setConfig(org.alfresco.jlan.server.config.ServerConfigurationAccessor config)
public void setAuthenticationComponent(AuthenticationComponent authenticationComponent)
public void setAuthenticationService(AuthenticationService authenticationService)
public void setTransactionService(TransactionService transactionService)
public void setAuthorityService(AuthorityService authorityService)
public boolean isActive()
ActivateableBean
isActive
in interface ActivateableBean
true
if this bean is activepublic void setActive(boolean active)
active
- true
if the bean is active and initialization should completepublic void initialize(org.alfresco.jlan.server.config.ServerConfiguration config, org.springframework.extensions.config.ConfigElement params) throws org.alfresco.jlan.server.config.InvalidConfigurationException
initialize
in interface org.alfresco.jlan.ftp.FTPAuthenticator
config
- ServerConfigurationparams
- ConfigElement
org.alfresco.jlan.server.config.InvalidConfigurationException
public void initialize() throws org.alfresco.jlan.server.config.InvalidConfigurationException
org.alfresco.jlan.server.config.InvalidConfigurationException
public abstract boolean authenticateUser(org.alfresco.jlan.server.auth.ClientInfo info, org.alfresco.jlan.ftp.FTPSrvSession sess)
authenticateUser
in interface org.alfresco.jlan.ftp.FTPAuthenticator
client
- ClientInfosess
- FTPSrvSession
public void closeAuthenticator()
closeAuthenticator
in interface org.alfresco.jlan.ftp.FTPAuthenticator
protected final AuthenticationComponent getAuthenticationComponent()
protected final NLTMAuthenticator getNTLMAuthenticator()
protected final AuthenticationService getAuthenticationService()
protected final TransactionService getTransactionService()
protected final AuthorityService getAuthorityService()
protected final void checkForAdminUserName(org.alfresco.jlan.server.auth.ClientInfo cInfo)
cInfo
- ClientInfoprotected final javax.transaction.UserTransaction createTransaction()
public void destroy()
destroy
in interface org.springframework.beans.factory.DisposableBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |