Revision 5374
Added by berkley almost 14 years ago
CrudService.java | ||
---|---|---|
696 | 696 |
|
697 | 697 |
// if the session id is registered in SessionService, get the |
698 | 698 |
// SessionData for it. Otherwise, use the public session. |
699 |
if (SessionService.isSessionRegistered(sessionId)) { |
|
700 |
sessionData = SessionService.getRegisteredSession(sessionId); |
|
699 |
if (SessionService.getInstance().isSessionRegistered(sessionId)) {
|
|
700 |
sessionData = SessionService.getInstance().getRegisteredSession(sessionId);
|
|
701 | 701 |
} else { |
702 |
sessionData = SessionService.getPublicSession(); |
|
702 |
sessionData = SessionService.getInstance().getPublicSession();
|
|
703 | 703 |
} |
704 | 704 |
|
705 | 705 |
return sessionData; |
Also available in: Unified diff
refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.