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(org.alfresco.jlan.server.auth.ClientInfo client,
org.alfresco.jlan.server.core.SharedDevice share,
java.lang.String sharePwd,
org.alfresco.jlan.server.SrvSession sess)
Authenticate a connection to a share.
|
int |
authenticateUser(org.alfresco.jlan.server.auth.ClientInfo client,
org.alfresco.jlan.server.SrvSession sess,
int alg)
Authenticate a user
|
org.alfresco.jlan.server.auth.AuthContext |
getAuthContext(org.alfresco.jlan.smb.server.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(org.alfresco.jlan.server.auth.ClientInfo client,
org.alfresco.jlan.server.SrvSession sess,
int alg)
authenticateUser in interface org.alfresco.jlan.server.auth.ICifsAuthenticatorauthenticateUser in class org.alfresco.jlan.server.auth.CifsAuthenticatorclient - Client informationsess - Server sessionalg - Encryption algorithmpublic int authenticateShareConnect(org.alfresco.jlan.server.auth.ClientInfo client,
org.alfresco.jlan.server.core.SharedDevice share,
java.lang.String sharePwd,
org.alfresco.jlan.server.SrvSession sess)
authenticateShareConnect in interface org.alfresco.jlan.server.auth.ICifsAuthenticatorauthenticateShareConnect in class org.alfresco.jlan.server.auth.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 org.alfresco.jlan.server.auth.AuthContext getAuthContext(org.alfresco.jlan.smb.server.SMBSrvSession sess)
getAuthContext in class org.alfresco.jlan.server.auth.CifsAuthenticatorCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.