public interface AuthenticatorService
Modifier and Type | Method and Description |
---|---|
AuthenticationResult |
authenticate(AuthToken[] tokens) |
User |
getCurrentUser()
Returns the authenticated user
|
java.util.Map<java.lang.Long,java.lang.Long> |
getLastRequests() |
java.util.Set<ReportServerPAM> |
getPams() |
java.util.Set<java.lang.String> |
getRequiredClientModules() |
boolean |
isAuthenticated()
Returns if a user was previously successfully authenticated using the
authenticate method()
|
void |
logoff() |
void |
logoffUserInThread() |
void |
setAuthenticated(java.lang.Long userId) |
void |
setAuthenticatedInThread(java.lang.Long userId) |
void |
su(User user) |
AuthenticationResult authenticate(AuthToken[] tokens)
boolean isAuthenticated()
User getCurrentUser()
java.lang.RuntimeException
- if no user was authenticatedjava.util.Set<java.lang.String> getRequiredClientModules()
void logoff()
void su(User user)
java.util.Map<java.lang.Long,java.lang.Long> getLastRequests()
void setAuthenticated(java.lang.Long userId)
void setAuthenticatedInThread(java.lang.Long userId)
void logoffUserInThread()
java.util.Set<ReportServerPAM> getPams()