Revision 5374
Added by berkley about 14 years ago
DocumentUtil.java | ||
---|---|---|
470 | 470 |
result += "<permission>" + permission + "</permission>"; |
471 | 471 |
result += "<sessionId>" + sessionId + "</sessionId>"; |
472 | 472 |
|
473 |
if (!SessionService.isSessionRegistered(sessionId)) { |
|
473 |
if (!SessionService.getInstance().isSessionRegistered(sessionId)) {
|
|
474 | 474 |
message = "Session is not logged in"; |
475 | 475 |
} else { |
476 |
SessionData sessionData = SessionService.getRegisteredSession(sessionId); |
|
476 |
SessionData sessionData = SessionService.getInstance().getRegisteredSession(sessionId);
|
|
477 | 477 |
|
478 | 478 |
String docId = null; |
479 | 479 |
try { |
Also available in: Unified diff
refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.