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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16952116#comment-16952116 ] 

Ishita Singh commented on JUNEAU-150:
-------------------------------------

I would like to work on this issue.

> [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
>            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)