public abstract class AuthenticatingHttpServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
AuthenticatingHttpServlet() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
authenticatedService(Map<String,net.sourceforge.guacamole.protocol.GuacamoleConfiguration> configs,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Map<String,net.sourceforge.guacamole.protocol.GuacamoleConfiguration> |
getConfigurations(javax.servlet.http.HttpSession session)
Returns the configurations associated with the given session.
|
protected net.sourceforge.guacamole.net.auth.Credentials |
getCredentials(javax.servlet.http.HttpSession session)
Returns the credentials associated with the given session.
|
void |
init() |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected net.sourceforge.guacamole.net.auth.Credentials getCredentials(javax.servlet.http.HttpSession session)
session
- The session to retrieve credentials from.protected Map<String,net.sourceforge.guacamole.protocol.GuacamoleConfiguration> getConfigurations(javax.servlet.http.HttpSession session)
session
- The session to retrieve configurations from.protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
service
in class javax.servlet.http.HttpServlet
IOException
javax.servlet.ServletException
protected abstract void authenticatedService(Map<String,net.sourceforge.guacamole.protocol.GuacamoleConfiguration> configs, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
Copyright © 2013. All Rights Reserved.