[MAGNOLIA-6284] Customising Public Login to accept and return JSON objects Created: 06/Jul/15 Updated: 11/Mar/21 Resolved: 11/Mar/21 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core, security |
| Affects Version/s: | 5.3.8 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Gediminas Zalys | Assignee: | Unassigned |
| Resolution: | Outdated | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Description |
|
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! |