Return-Path: X-Original-To: apmail-shiro-dev-archive@www.apache.org Delivered-To: apmail-shiro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5C2E18FEC for ; Wed, 17 Feb 2016 18:07:09 +0000 (UTC) Received: (qmail 50769 invoked by uid 500); 17 Feb 2016 18:07:00 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 50728 invoked by uid 500); 17 Feb 2016 18:07:00 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 50709 invoked by uid 99); 17 Feb 2016 18:07:00 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2016 18:07:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AFBF1C084E for ; Wed, 17 Feb 2016 18:06:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.472 X-Spam-Level: *** X-Spam-Status: No, score=3.472 tagged_above=-999 required=6.31 tests=[FORGED_HOTMAIL_RCVD2=1.187, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id pZvkTiL70EKc for ; Wed, 17 Feb 2016 18:06:59 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C610667574 for ; Wed, 17 Feb 2016 15:42:59 +0000 (UTC) Received: from mjim.nabble.com (unknown [162.253.133.84]) by mwork.nabble.com (Postfix) with ESMTP id 67F3515643561 for ; Wed, 17 Feb 2016 07:35:01 -0800 (PST) Date: Wed, 17 Feb 2016 08:42:58 -0700 (MST) From: "plalithas@hotmail.com" To: dev@shiro.apache.org Message-ID: <1455723778665-7578876.post@n2.nabble.com> In-Reply-To: <1455626830225-7578874.post@n2.nabble.com> References: <1455626830225-7578874.post@n2.nabble.com> Subject: Re: After PassThruAuthentication HTTP 404 Login.jsp error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Today, I've put debug statements on shiro and found that because of securityManager.sessionManager.sessionIdCookieEnabled = false, it is not able to get the subject. As it is failing to get the subject, it is going to org.apache.shiro.subject.Subject.AuthorizationFilter.onAccessDenied() and erroring out for invalid subject. I've took log for "sessionIdCookieEnabled = true" and "sessionIdCookieEnabled = false". I've attached the log and compare screen shots for your reference. shiro_log-1.txt: with sessionIdCookieEnabled = false Shiro_log_wSession-1.txt: with sessionIdCookieEnabled = true shiro_log_wSession-1.txt shiro_log-1.txt -- View this message in context: http://shiro-developer.582600.n2.nabble.com/After-PassThruAuthentication-HTTP-404-Login-jsp-error-tp7578874p7578876.html Sent from the Shiro Developer mailing list archive at Nabble.com.