Class AuthenticatorTestServiceImpl
java.lang.Object
net.datenwerke.security.service.authenticator.test.AuthenticatorTestServiceImpl
- All Implemented Interfaces:
AuthenticatorService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String token, String idToken) authenticate(AuthToken[] tokens) Returns the authenticated usergetPams()booleanReturns if a user was previously successfully authenticated using the authenticate method()voidlogoff()voidvoidsetAuthenticated(Long userId) voidsetAuthenticatedInThread(Long userId) voidMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.datenwerke.security.service.authenticator.AuthenticatorService
ensureContext, isAuthenticated
-
Constructor Details
-
AuthenticatorTestServiceImpl
public AuthenticatorTestServiceImpl()
-
-
Method Details
-
authenticate
- Specified by:
authenticatein interfaceAuthenticatorService
-
authenticate
- Specified by:
authenticatein interfaceAuthenticatorService
-
getCurrentUser
Description copied from interface:AuthenticatorServiceReturns the authenticated user- Specified by:
getCurrentUserin interfaceAuthenticatorService
-
getRequiredClientModules
- Specified by:
getRequiredClientModulesin 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
-
logoff
public void logoff()- Specified by:
logoffin interfaceAuthenticatorService
-
su
- Specified by:
suin interfaceAuthenticatorService
-
getLastRequests
- Specified by:
getLastRequestsin interfaceAuthenticatorService
-
setAuthenticated
- Specified by:
setAuthenticatedin interfaceAuthenticatorService
-
logoffUserInThread
public void logoffUserInThread()- Specified by:
logoffUserInThreadin interfaceAuthenticatorService
-
setAuthenticatedInThread
- Specified by:
setAuthenticatedInThreadin interfaceAuthenticatorService
-
getPams
- Specified by:
getPamsin interfaceAuthenticatorService
-