2 package net.sourceforge.guacamole.net.authentication;
4 import javax.servlet.http.HttpSession;
5 import net.sourceforge.guacamole.GuacamoleException;
6 import net.sourceforge.guacamole.net.GuacamoleSession;
9 * Guacamole - Clientless Remote Desktop
10 * Copyright (C) 2010 Michael Jumper
12 * This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Affero General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU Affero General Public License for more details.
22 * You should have received a copy of the GNU Affero General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
26 public class NullGuacamoleSessionProvider implements GuacamoleSessionProvider {
28 public GuacamoleSession createSession(HttpSession session) throws GuacamoleException {
29 throw new GuacamoleException("Null provider will not create sessions");