org.eaglei.ui.gwt.security.server
Class SecurityServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.eaglei.ui.gwt.security.server.SecurityServlet
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, SecurityServiceRemote
public class SecurityServlet
- extends com.google.gwt.user.server.rpc.RemoteServiceServlet
- implements SecurityServiceRemote
Implementation of SecurityService.
- See Also:
- Serialized Form
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
perThreadRequest, perThreadResponse |
|
Method Summary |
void |
destroy()
|
java.util.List<org.eaglei.model.EIEntity> |
getInstitutions()
|
org.eaglei.security.Session |
getSession(java.lang.String sessionId)
|
void |
init()
|
org.eaglei.security.Session |
logIn(java.lang.String institutionId,
java.lang.String username,
java.lang.String password)
|
void |
logOut(java.lang.String sessionId)
|
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
checkPermutationStrongName, 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 |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityServlet
public SecurityServlet()
init
public void init()
- Overrides:
init in class javax.servlet.GenericServlet
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Servlet- Overrides:
destroy in class javax.servlet.GenericServlet
getInstitutions
public java.util.List<org.eaglei.model.EIEntity> getInstitutions()
throws LoggedException,
InvalidSessionIdException
- Specified by:
getInstitutions in interface SecurityServiceRemote
- Throws:
LoggedException
InvalidSessionIdException
logIn
public org.eaglei.security.Session logIn(java.lang.String institutionId,
java.lang.String username,
java.lang.String password)
throws LoggedException
- Specified by:
logIn in interface SecurityServiceRemote
- Throws:
LoggedException
logOut
public void logOut(java.lang.String sessionId)
- Specified by:
logOut in interface SecurityServiceRemote
getSession
public org.eaglei.security.Session getSession(java.lang.String sessionId)
- Specified by:
getSession in interface SecurityServiceRemote
Copyright © 2009-2011 Eagle-I. All Rights Reserved.