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 Details

    • AnonUsernamePasswordAuthService

      public AnonUsernamePasswordAuthService()
  • Method Details

    • createSession

      public SessionCreation createSession(UsernamePasswordSessionRequest usernamePasswordSessionRequest)
      Description copied from interface: UsernamePasswordAuthService
      Performs a sign-in with the supplied UsernamePasswordSessionRequest.
      Specified by:
      createSession in interface UsernamePasswordAuthService
      Parameters:
      usernamePasswordSessionRequest - the user name password session request
      Returns:
      the SessionCreation if the session was created successfully.
    • getUserDao

      public UserDao getUserDao()
    • setUserDao

      @Inject public void setUserDao(UserDao userDao)
    • getSessionDao

      public SessionDao getSessionDao()
    • setSessionDao

      @Inject public void setSessionDao(SessionDao sessionDao)
    • getProfileDao

      public ProfileDao getProfileDao()
    • setProfileDao

      @Inject public void setProfileDao(ProfileDao profileDao)
    • getSessionTimeoutSeconds

      public long getSessionTimeoutSeconds()
    • setSessionTimeoutSeconds

      @Inject public void setSessionTimeoutSeconds(@Named("dev.getelements.elements.session.timeout.seconds") long sessionTimeoutSeconds)
    • getValidationHelper

      public ValidationHelper getValidationHelper()
    • setValidationHelper

      @Inject public void setValidationHelper(ValidationHelper validationHelper)