Subversion Repositories SmartDukaan

Rev

Rev 2935 | Rev 2973 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2935 Rev 2955
Line 175... Line 175...
175
		Gson gson = new Gson();
175
		Gson gson = new Gson();
176
		UserSessionInfo userinfo;
176
		UserSessionInfo userinfo;
177
		try{
177
		try{
178
			userinfo = gson.fromJson(UserInterceptor.desEncrypter.decrypt(jsonString), UserSessionInfo.class);
178
			userinfo = gson.fromJson(UserInterceptor.desEncrypter.decrypt(jsonString), UserSessionInfo.class);
179
		}catch (Exception e) {
179
		}catch (Exception e) {
-
 
180
		    logger.error("Unable to get the userinfo object from the JSON string because of", e);
180
			userinfo = new UserSessionInfo();
181
			userinfo = new UserSessionInfo();
181
			//FIXME Remove the old cookies
182
			//FIXME Remove the old cookies
182
		}
183
		}
183
		return userinfo;
184
		return userinfo;
184
	}
185
	}