public class AuthServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements AuthService
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
AUTHENICATED_KEY
The session key used to track authentication status
|
| Constructor and Description |
|---|
AuthServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAuthenticated(javax.servlet.http.HttpServletRequest req)
Returns
true if the supplied request is authenticated |
int |
login(java.lang.String userid,
java.lang.String password)
Authenticates the current servlet session based on the supplied authentication information.
|
void |
logout()
Logs out the currently logged in user.
|
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprivate static final java.lang.String AUTHENICATED_KEY
public static boolean isAuthenticated(javax.servlet.http.HttpServletRequest req)
true if the supplied request is authenticatedreq - The request to check.public int login(java.lang.String userid,
java.lang.String password)
login in interface AuthServiceuserid - User id.password - Password.public void logout()
logout in interface AuthService