mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3925 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3965 . git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -201,7 +201,6 @@ public class RepositoryImpl implements Repository
|
||||
{
|
||||
// construct the session
|
||||
SessionImpl sessionImpl = new SessionImpl(this);
|
||||
registerSession(sessionImpl);
|
||||
|
||||
// authenticate user
|
||||
AuthenticationService authenticationService = getServiceRegistry().getAuthenticationService();
|
||||
@@ -211,7 +210,6 @@ public class RepositoryImpl implements Repository
|
||||
}
|
||||
catch(AuthenticationException e)
|
||||
{
|
||||
deregisterSession();
|
||||
throw new LoginException("Alfresco Repository failed to authenticate credentials", e);
|
||||
}
|
||||
|
||||
@@ -222,11 +220,11 @@ public class RepositoryImpl implements Repository
|
||||
|
||||
// session is now ready
|
||||
Session session = sessionImpl.getProxy();
|
||||
registerSession(sessionImpl);
|
||||
return session;
|
||||
}
|
||||
catch(AlfrescoRuntimeException e)
|
||||
{
|
||||
deregisterSession();
|
||||
throw new RepositoryException(e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user