bug on geUser solved
This commit is contained in:
parent
26bc4c93ac
commit
8df806bf49
|
@ -59,7 +59,7 @@ public class UserManager {
|
||||||
JackrabbitSession session = null;
|
JackrabbitSession session = null;
|
||||||
try {
|
try {
|
||||||
session = (JackrabbitSession) repository.getRepository().login(Constants.JCR_CREDENTIALS);
|
session = (JackrabbitSession) repository.getRepository().login(Constants.JCR_CREDENTIALS);
|
||||||
return userHandler.getAllUsers(null);
|
return userHandler.getAllUsers(session);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
log.error("jcr error getting users", e);
|
log.error("jcr error getting users", e);
|
||||||
GXOutboundErrorResponse.throwException(new BackendGenericError(e));
|
GXOutboundErrorResponse.throwException(new BackendGenericError(e));
|
||||||
|
|
Loading…
Reference in New Issue