You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Brian Demers (JIRA)" <ji...@apache.org> on 2016/07/11 21:29:11 UTC
[jira] [Updated] (SHIRO-132) Handle POST requests for
unauthenticated users
[ https://issues.apache.org/jira/browse/SHIRO-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Demers updated SHIRO-132:
-------------------------------
Fix Version/s: (was: 1.3.0)
> Handle POST requests for unauthenticated users
> ----------------------------------------------
>
> Key: SHIRO-132
> URL: https://issues.apache.org/jira/browse/SHIRO-132
> Project: Shiro
> Issue Type: Improvement
> Components: Authentication (log-in)
> Affects Versions: Incubation
> Reporter: Peter Ledbrook
>
> We currently have a SavedRequest class that can handle GETs that need to be redirected to the login page. It doesn't work for POSTs though.
> I have developed a solution for the Grails Shiro Plugin that could serve as the basis for a more generic Shiro implementation:
> http://fisheye.codehaus.org/changelog/grails-plugins/grails-shiro/trunk?cs=58931
> The idea is to save the POST information, redirect to the login page, and then after a successful login, redirect back to the originally requested URL. The GET request is then replaced with the saved POST request.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)