smolnar82 opened a new pull request, #610: URL: https://github.com/apache/knox/pull/610
## What changes were proposed in this pull request? In order to make the `user-auth-test` KnoxCLI command work after the 1.6 Shiro upgrade, I'd to add the `invalidRequest` filter's object class (`org.apache.shiro.web.filter.InvalidRequestFilter`) into the `main` section in the generated shiro.ini. Without that change, an error was thrown (see the corresponding JIRA). ## How was this patch tested? Ran the `GatewayShiroAuthTest` that covers use-cases for Shiro LDAP authentication including a valid service URL with a semicolon (`;jsessionid=OI24B9ASD7BSSD`). Other than this I made sure the `user-auth-test` KnoxCLI command works: ``` $ bin/knoxcli.sh user-auth-test --cluster sandbox --u admin --p admin-password --d LDAP authentication successful! ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
