Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6284

Customising Public Login to accept and return JSON objects

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Outdated
    • Icon: Major Major
    • None
    • 5.3.8
    • core, security
    • None

      Was looking for some advice on where to start in customising Login form for public users.

      The desired effect is that the credentials are posted to magnolia using JSON objects, and result is posted back also in JSON object, stating whether it was successful or not and also a message if it was unsuccessful.

      I was thinking of extending FormLogin class and setting response type there to JSON object and adding all the values i want into that JSON object, however this feels like hacking existing system and i'm worried if this will impact the rest of the security.

      Also i can see there are other filters in play, not sure how they will interfere with my filter...

      Any advice is appreciated!

        Acceptance criteria

              Unassigned Unassigned
              g.zalys@hotmail.com Gediminas Zalys
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR