Class MockAuthenticationModule
java.lang.Object
com.kingsrook.qqq.backend.core.modules.authentication.implementations.MockAuthenticationModule
- All Implemented Interfaces:
QAuthenticationModuleInterface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSession
(QInstance qInstance, Map<String, String> context) getLoginRedirectUrl
(String originalUrl) boolean
isSessionValid
(QInstance instance, QSession session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.kingsrook.qqq.backend.core.modules.authentication.QAuthenticationModuleInterface
createAutomatedSessionForUser, usesSessionIdCookie
-
Constructor Details
-
MockAuthenticationModule
public MockAuthenticationModule()
-
-
Method Details
-
createSession
public QSession createSession(QInstance qInstance, Map<String, String> context) throws QAuthenticationException- Specified by:
createSession
in interfaceQAuthenticationModuleInterface
- Throws:
QAuthenticationException
-
isSessionValid
- Specified by:
isSessionValid
in interfaceQAuthenticationModuleInterface
-
getLoginRedirectUrl
- Specified by:
getLoginRedirectUrl
in interfaceQAuthenticationModuleInterface
-