Package com.google.gerrit.httpd
Interface WebSession
-
- All Known Implementing Classes:
CacheBasedWebSession
,H2CacheBasedWebSession
public interface WebSession
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExternalId.Key
getLastLoginExternalId()
String
getSessionId()
CurrentUser
getUser()
String
getXGerritAuth()
boolean
isAccessPathOk(AccessPath path)
boolean
isSignedIn()
boolean
isValidXGerritAuth(String keyIn)
void
login(AuthResult res, boolean rememberMe)
void
logout()
void
setAccessPathOk(AccessPath path, boolean ok)
void
setUserAccountId(Account.Id id)
Set the user account for this current request only.
-
-
-
Method Detail
-
isSignedIn
boolean isSignedIn()
-
getXGerritAuth
String getXGerritAuth()
-
isValidXGerritAuth
boolean isValidXGerritAuth(String keyIn)
-
getLastLoginExternalId
ExternalId.Key getLastLoginExternalId()
-
getUser
CurrentUser getUser()
-
login
void login(AuthResult res, boolean rememberMe)
-
setUserAccountId
void setUserAccountId(Account.Id id)
Set the user account for this current request only.
-
isAccessPathOk
boolean isAccessPathOk(AccessPath path)
-
setAccessPathOk
void setAccessPathOk(AccessPath path, boolean ok)
-
logout
void logout()
-
getSessionId
String getSessionId()
-
-