mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
63086: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3) 62850: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2) 62709: MNT-10644: autoCreatePeopleOnLogin=false allows unauthorized users to log in via CIFS Force user creation on CIFS log in only if autoCreatePeopleOnLogin=true. Add unit tests for EnterpriseCifsAuthenticator and PassthruCifsAuthenticator. 62968: MNT-10644: autoCreatePeopleOnLogin=false allows unauthorized users to log in via CIFS Fix CifsAuthenticatorKerberosTest: to check person existence in V4.2-BUG-FIX RunAsUser is required to be set git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64265 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -399,7 +399,7 @@ public abstract class CifsAuthenticatorBase extends CifsAuthenticator implements
|
||||
if (personName == null)
|
||||
{
|
||||
// Force creation of a person if possible
|
||||
getPersonService().getPerson(userName);
|
||||
authenticationComponent.setCurrentUser(userName);
|
||||
personName = getPersonService().getUserIdentifier(userName);
|
||||
}
|
||||
|
||||
|
@@ -122,6 +122,11 @@ public class PassthruCifsAuthenticator extends CifsAuthenticatorBase implements
|
||||
m_sessions = new Hashtable<String, PassthruDetails>();
|
||||
}
|
||||
|
||||
public Hashtable<String, PassthruDetails> getSessions()
|
||||
{
|
||||
return m_sessions;
|
||||
}
|
||||
|
||||
public void setPassthruServers(PassthruServers servers)
|
||||
{
|
||||
m_passthruServers = servers;
|
||||
|
Reference in New Issue
Block a user