Project

General

Profile

« Previous | Next » 

Revision 5374

Added by berkley almost 14 years ago

refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.

View differences:

ReplicationServlet.java
126 126
				if (params.containsKey("sessionid")) {
127 127
					sess_id = ((String[]) params.get("sessionid"))[0];
128 128
					logReplication.info("ReplicationServlet.handleGetOrPost - in has sessionid " + sess_id);
129
					if (SessionService.isSessionRegistered(sess_id)) {
129
					if (SessionService.getInstance().isSessionRegistered(sess_id)) {
130 130
						logReplication.info("ReplicationServlet.handleGetOrPost - find the id " + sess_id + " in hash table");
131
						sessionData = SessionService.getRegisteredSession(sess_id);
131
						sessionData = SessionService.getInstance().getRegisteredSession(sess_id);
132 132
					}
133 133
				}
134 134
				if (sessionData == null) {

Also available in: Unified diff