net.customware.gwt.dispatch.server.guice
Class GuiceSecureDispatchServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
net.customware.gwt.dispatch.server.secure.AbstractSecureDispatchServlet
net.customware.gwt.dispatch.server.guice.GuiceSecureDispatchServlet
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, SecureDispatchService
public class GuiceSecureDispatchServlet
- extends AbstractSecureDispatchServlet
- implements SecureDispatchService
A servlet implementation of the SecureDispatchService. This will
call the provided SecureSessionValidator to confirm that the provided
session ID is still valid before executing any actions. If not, an
InvalidSessionException is thrown back to the client.
- Author:
- David Peterson
- See Also:
- Serialized Form
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
perThreadRequest, perThreadResponse |
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
| Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuiceSecureDispatchServlet
@Inject
public GuiceSecureDispatchServlet(Dispatch dispatch,
SecureSessionValidator sessionValidator)
getSessionValidator
public SecureSessionValidator getSessionValidator()
- Specified by:
getSessionValidator in class AbstractSecureDispatchServlet
getDispatch
protected Dispatch getDispatch()
- Specified by:
getDispatch in class AbstractSecureDispatchServlet
Copyright © 2011 customware.net. All Rights Reserved.