public class LoginServiceImpl extends java.lang.Object implements LoginService
REPORTSERVER_EVENT_AFTER_ANY_LOGIN, REPORTSERVER_EVENT_AFTER_INITIAL_LOGIN, REPORTSERVER_EVENT_AFTER_LOGOUT, REPORTSERVER_EVENT_AFTER_REAUTHENTICATION, REPORTSERVER_EVENT_BEFORE_AUTH_WINDOW_LOAD, REPORTSERVER_EVENT_BEFORE_LOGIN, REPORTSERVER_EVENT_BEFORE_LOGOUT
Constructor and Description |
---|
LoginServiceImpl(LoginDao loginDao,
WaitOnEventUIService waitOnEventService,
UtilsUIService utilsService,
<any> dispatcherServiceProvider,
HookHandlerService hookHandler) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(AuthToken[] tokens,
AuthenticateCallback callback) |
void |
fireHistoryEventOnLogin(<any> event) |
UserDtoDec |
getCurrentUser() |
Widget |
getWidget() |
boolean |
isAuthenticated() |
void |
isAuthenticated(<any> callback) |
void |
logoff() |
void |
tryReAuthenticate(AuthenticateCallback callback) |
public LoginServiceImpl(LoginDao loginDao, WaitOnEventUIService waitOnEventService, UtilsUIService utilsService, <any> dispatcherServiceProvider, HookHandlerService hookHandler)
public void isAuthenticated(<any> callback)
public void authenticate(AuthToken[] tokens, AuthenticateCallback callback)
authenticate
in interface LoginService
public void tryReAuthenticate(AuthenticateCallback callback)
tryReAuthenticate
in interface LoginService
public void logoff()
logoff
in interface LoginService
public Widget getWidget()
getWidget
in interface Dispatchable
public UserDtoDec getCurrentUser()
getCurrentUser
in interface LoginService
public boolean isAuthenticated()
isAuthenticated
in interface LoginService
public void fireHistoryEventOnLogin(<any> event)
fireHistoryEventOnLogin
in interface LoginService