Issue Type: Bug Bug
Affects Versions: 3.0.3
Assignee: Tobias Mattsson
Created: 29/Sep/14 12:42 PM
Description:

Hello,

I'm trying to integrate spring security with magnolia

@Controller
@Template(id = HomePageTemplate.ID, title = "Home Page", dialog = HomePageDialog.ID)
public class HomePageTemplate {

    public static final String ID = "example:pages/home-page";

    @Secured("superuser")
    @RequestMapping("/home-page")
    public String render(Model model) {
        model.addAttribute("name", "World");
        return "home-page";
    }
}

Is there a preferred way to make Spring Security to user Magnolia as backend. If not, do you think you could tell me what is required to do so?

Best,
Vasily

Project: Magnolia Blossom Module
Priority: Neutral Neutral
Reporter: Vasily Kartashov
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to