juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (Jira)" <j...@apache.org>
Subject [jira] [Closed] (JUNEAU-190) Need ability to define actions for unauthorized requests via the @Rest(roleGuard).
Date Mon, 16 Mar 2020 15:48:00 GMT

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

James Bognar closed JUNEAU-190.
-------------------------------
    Fix Version/s: 8.1.4
         Assignee: James Bognar
       Resolution: Won't Fix

This can be accomplished through the use of @RestHook methods.  Also, an onPostCall() method
has been added to the RestServlet class that allows this to easily modify the response.

> Need ability to define actions for unauthorized requests via the @Rest(roleGuard).
> ----------------------------------------------------------------------------------
>
>                 Key: JUNEAU-190
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-190
>             Project: Juneau
>          Issue Type: Improvement
>            Reporter: James Bognar
>            Assignee: James Bognar
>            Priority: Major
>             Fix For: 8.1.4
>
>
> Currently unauthorized requests that don't make it past the @Rest(roleGuard) simply causes
a 401. 
> Need ability to define other kinds of actions (e.g. redirect instead of just return 401
or return a different response code, etc.,..).



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

Mime
View raw message