Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

63085: Reverse merged
      63077: 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.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2014-03-14 15:45:59 +00:00
parent 50b4c69df3
commit 6a048b6b85
4 changed files with 1 additions and 40 deletions

View File

@@ -399,7 +399,7 @@ public abstract class CifsAuthenticatorBase extends CifsAuthenticator implements
if (personName == null)
{
// Force creation of a person if possible
authenticationComponent.setCurrentUser(userName);
getPersonService().getPerson(userName);
personName = getPersonService().getUserIdentifier(userName);
}

View File

@@ -122,11 +122,6 @@ 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;