public class AlfrescoCifsAuthenticator extends CifsAuthenticatorBase
The Alfresco authenticator implementation enables user level security mode using the Alfresco authentication component.
Note: Switching off encrypted password support will cause later NT4 service pack releases and Win2000 to refuse to connect to the server without a registry update on the client.
logger, m_md4EncoderGUEST_USERNAME, m_config, m_randomAUTH_ACCDISABLED, AUTH_ALLOW, AUTH_BADPASSWORD, AUTH_BADUSER, AUTH_DISALLOW, AUTH_GUEST, AUTH_PASSEXPIRED, LANMAN, NoAccess, NTLM1, NTLM2, ReadOnly, SHARE_MODE, STANDARD_CHALLENGE_LEN, STANDARD_PASSWORD_LEN, USER_MODE, Writeable| Constructor and Description |
|---|
AlfrescoCifsAuthenticator()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
authenticateShareConnect(ClientInfo client,
SharedDevice share,
String sharePwd,
SrvSession sess)
Authenticate a connection to a share.
|
int |
authenticateUser(ClientInfo client,
SrvSession sess,
int alg)
Authenticate a user
|
AuthContext |
getAuthContext(SMBSrvSession sess)
Return an authentication context for the new session
|
protected boolean |
validateAuthenticationMode()
Validate that the authentication component supports the required mode
|
afterPropertiesSet, checkForAdminUserName, destroy, doGuestLogon, doInTransaction, getAuthenticationComponent, getAuthenticationService, getAuthorityService, getHomeFolderForUser, getNodeService, getNTLMAuthenticator, getPersonService, initialize, initialize, isActive, mapUserNameToPerson, setActive, setAuthenticationComponent, setAuthenticationService, setAuthorityService, setCurrentUser, setDiskInterface, setNodeService, setPersonService, setTransactionServiceallowGuest, authenticateUserPlainText, closeAuthenticator, convertPassword, generateEncryptedPassword, generateNegotiateResponse, getAccessMode, getCIFSConfig, getEnabledDialects, getEncryptionKeyLength, getEncryptor, getGuestUserName, getsecurityConfig, getSecurityMode, getServerCapabilities, getStatusAsString, getUserDetails, hasDebug, hasExtendedSecurity, hasSessionCleanup, mapClientAddressToDomain, mapUnknownUserToGuest, processSessionSetup, setAccessMode, setAllowGuest, setConfig, setDebug, setExtendedSecurity, setGuestUserName, setMapToGuest, setSecurityMode, setSessionCleanup, toString, validatePasswordpublic AlfrescoCifsAuthenticator()
Default to user mode security with encrypted password support.
protected boolean validateAuthenticationMode()
validateAuthenticationMode in class CifsAuthenticatorBasepublic int authenticateUser(ClientInfo client, SrvSession sess, int alg)
authenticateUser in interface ICifsAuthenticatorauthenticateUser in class CifsAuthenticatorclient - Client informationsess - Server sessionalg - Encryption algorithmpublic int authenticateShareConnect(ClientInfo client, SharedDevice share, String sharePwd, SrvSession sess)
authenticateShareConnect in interface ICifsAuthenticatorauthenticateShareConnect in class CifsAuthenticatorclient - User/client details from the tree connect request.share - Shared device the client wants to connect to.pwd - Share password.sess - Server session.public AuthContext getAuthContext(SMBSrvSession sess)
getAuthContext in class CifsAuthenticatorCopyright © 2005–2014 Alfresco Software. All rights reserved.