Class AuthenticatorServiceImpl
java.lang.Object
net.datenwerke.security.service.authenticator.AuthenticatorServiceImpl
- All Implemented Interfaces:
AuthenticatorService
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticatorServiceImpl(EventBus eventBus, HookHandlerService hookHandlerService, <any> currentUserProvider, <any> servletRequestProvider, <any> oidcAuthenticator, <any> oidcConfigService, <any> oidcProvider, <any> reportServerServiceProvider, <any> requestUserCacheProvider, <any> pams, <any> userManagerServiceProvider, HttpSessionHelper sessionHelper) -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String token, String idToken) authenticate(AuthToken[] tokens) voidReturns the authenticated usergetPams()booleanReturns if a user was previously successfully authenticated using the authenticate method()booleanisAuthenticated(String bearerToken) voidlogoff()voidvoidsetAuthenticated(Long userId) voidsetAuthenticatedInThread(Long userId) void
-
Constructor Details
-
Method Details
-
getRequiredClientModules
- Specified by:
getRequiredClientModulesin interfaceAuthenticatorService
-
authenticate
- Specified by:
authenticatein interfaceAuthenticatorService
-
authenticate
- Specified by:
authenticatein interfaceAuthenticatorService
-
setAuthenticatedInThread
- Specified by:
setAuthenticatedInThreadin interfaceAuthenticatorService
-
logoffUserInThread
public void logoffUserInThread()- Specified by:
logoffUserInThreadin interfaceAuthenticatorService
-
getCurrentUser
Description copied from interface:AuthenticatorServiceReturns the authenticated user- Specified by:
getCurrentUserin interfaceAuthenticatorService
-
isAuthenticated
public boolean isAuthenticated()Description copied from interface:AuthenticatorServiceReturns if a user was previously successfully authenticated using the authenticate method()- Specified by:
isAuthenticatedin interfaceAuthenticatorService
-
isAuthenticated
- Specified by:
isAuthenticatedin interfaceAuthenticatorService
-
setAuthenticated
- Specified by:
setAuthenticatedin interfaceAuthenticatorService
-
logoff
public void logoff()- Specified by:
logoffin interfaceAuthenticatorService
-
su
- Specified by:
suin interfaceAuthenticatorService
-
getLastRequests
- Specified by:
getLastRequestsin interfaceAuthenticatorService
-
getPams
- Specified by:
getPamsin interfaceAuthenticatorService
-
ensureContext
public void ensureContext()- Specified by:
ensureContextin interfaceAuthenticatorService
-