[ 
https://issues.apache.org/jira/browse/SHIRO-575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393123#comment-15393123
 ] 

wangwenbin commented on SHIRO-575:
----------------------------------

I am very sorry, my English is not very good, not very easy to communicate 
with, please understand.
Run example,you download release  version of example,which contain a tomcat and 
start tomcat,You need to access the link address is 
http://localhost/comment,which contain submit form,click submit button is 
testing.
This error is due to my use of this class 
org.apache.shiro.web.session.mgt.DefaultWebSessionManager.In my shiro.ini 
configuration file, I declare the following sentences:
sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
sessionManager.globalSessionTimeout = 1800000
securityManager.sessionManager = $sessionManager
   I trace soure code and found due to this following  code lead to error:
                if (id == null) {
                                // not a URI path segment parameter, try the 
query parameters:
                                String name = getSessionIdName();
                                id = request.getParameter(name);
                                if (id == null) {
                                        // try lowercase:
                                        id = 
request.getParameter(name.toLowerCase());
                                }
                        }
After each time this code below, the back of the filter can't obtain form form 
data:
 request.getParameter(name) 

> use AnonymousFilter Can't get form parameters
> ---------------------------------------------
>
>                 Key: SHIRO-575
>                 URL: https://issues.apache.org/jira/browse/SHIRO-575
>             Project: Shiro
>          Issue Type: Bug
>            Reporter: wangwenbin
>
> 1.use AnonymousFilter in shiro.ini
> /comment/** = anon
> 2.start tomcat
> 3.do not visit any page 
> 4.use the form submit comment data
> 5.at this point does not receive from parameters



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to