You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "James Bognar (Jira)" <ji...@apache.org> on 2019/10/15 18:48:00 UTC

[jira] [Assigned] (JUNEAU-150) [PetStore] Use Spring Security to add user roles to HTTP requests.

     [ https://issues.apache.org/jira/browse/JUNEAU-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Bognar reassigned JUNEAU-150:
-----------------------------------

    Assignee: James Bognar

> [PetStore] Use Spring Security to add user roles to HTTP requests.
> ------------------------------------------------------------------
>
>                 Key: JUNEAU-150
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-150
>             Project: Juneau
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 8.1.1
>            Reporter: James Bognar
>            Assignee: James Bognar
>            Priority: Major
>
> Juneau supports role guards via the @RestMethod(roles) annotation.  The current PetStore app doesn't currently implement any HTTP security roles.  This can be provided by Spring Security.  The goal is to secure REST endpoints that modify data (e.g. addPet()) to those with ROLE_ADMIN role. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)