Class AnonUsernamePasswordAuthService
java.lang.Object
dev.getelements.elements.service.auth.AnonUsernamePasswordAuthService
- All Implemented Interfaces:
UsernamePasswordAuthService
@Singleton
public class AnonUsernamePasswordAuthService
extends Object
implements UsernamePasswordAuthService
Created by patricktwohig on 4/1/15.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSession(UsernamePasswordSessionRequest usernamePasswordSessionRequest) Performs a sign-in with the suppliedUsernamePasswordSessionRequest.longvoidsetProfileDao(ProfileDao profileDao) voidsetSessionDao(SessionDao sessionDao) voidsetSessionTimeoutSeconds(long sessionTimeoutSeconds) voidsetUserDao(UserDao userDao) voidsetValidationHelper(ValidationHelper validationHelper) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.sdk.service.auth.UsernamePasswordAuthService
createSession
-
Constructor Details
-
AnonUsernamePasswordAuthService
public AnonUsernamePasswordAuthService()
-
-
Method Details
-
createSession
Description copied from interface:UsernamePasswordAuthServicePerforms a sign-in with the suppliedUsernamePasswordSessionRequest.- Specified by:
createSessionin interfaceUsernamePasswordAuthService- Parameters:
usernamePasswordSessionRequest- the user name password session request- Returns:
- the
SessionCreationif the session was created successfully.
-
getUserDao
-
setUserDao
-
getSessionDao
-
setSessionDao
-
getProfileDao
-
setProfileDao
-
getSessionTimeoutSeconds
public long getSessionTimeoutSeconds() -
setSessionTimeoutSeconds
@Inject public void setSessionTimeoutSeconds(@Named("dev.getelements.elements.session.timeout.seconds") long sessionTimeoutSeconds) -
getValidationHelper
-
setValidationHelper
-