8000 Fixed issue #2379, removed also locks in OSecurityShared · githubcs/orientdb@6e95ad4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e95ad4

Browse files
committed
Fixed issue orientechnologies#2379, removed also locks in OSecurityShared
1 parent 96b1768 commit 6e95ad4

File tree

2 files changed

+134
-160
lines changed

2 files changed

+134
-160
lines changed

core/src/main/java/com/orientechnologies/orient/core/db/record/ODatabaseRecordAbstract.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ public OSBTreeCollectionManager call() throws Exception {
302302
user = null;
303303
}
304304

305+
installHooks();
306+
305307
user = metadata.getSecurity().authenticate(iUserName, iUserPassword);
306308
if (user != null) {
307309
final Set<ORole> roles = user.getRoles();
@@ -318,7 +320,6 @@ public OSBTreeCollectionManager call() throws Exception {
318320
}
319321
}
320322
}
321-
installHooks();
322323
} else
323324
// REMOTE CREATE DUMMY USER
324325
user = new OUser(iUserName, OUser.encryptPassword(iUserPassword)).addRole(new ORole("passthrough", null,

0 commit comments

Comments
 (0)
0