Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-33 Registartion and Authentication
  3. JC-32

additional methods for SecurityService

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.2
    • Fix Version/s: 0.2
    • Labels:
      None

      Description

      add getCurrentUser method to SecurityService for getting current user from spring security context and retrieve User object that applies to Authentication object(from s.s. context)
      add getCurrentUserUsername method to SecurityService for getting current user username
      add authenticateUser method to SecurityService for logging in user after registration and may be needed for future functional such as change password
      add registereUser method to UserService with check for user existance, create User and save to DB from passed data

        Attachments

          Structure

            Activity

              People

              • Assignee:
                wedens Kirill Afonin
                Reporter:
                wedens Kirill Afonin
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h 7m Time Not Required
                  7h 7m

                    Structure Helper Panel