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
.long
void
setProfileDao
(ProfileDao profileDao) void
setSessionDao
(SessionDao sessionDao) void
setSessionTimeoutSeconds
(long sessionTimeoutSeconds) void
setUserDao
(UserDao userDao) void
setValidationHelper
(ValidationHelper validationHelper) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.getelements.elements.sdk.service.auth.UsernamePasswordAuthService
createSession
-
Constructor Details
-
AnonUsernamePasswordAuthService
public AnonUsernamePasswordAuthService()
-
-
Method Details
-
createSession
Description copied from interface:UsernamePasswordAuthService
Performs a sign-in with the suppliedUsernamePasswordSessionRequest
.- Specified by:
createSession
in interfaceUsernamePasswordAuthService
- Parameters:
usernamePasswordSessionRequest
- the user name password session request- Returns:
- the
SessionCreation
if 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
-