Return-Path: Delivered-To: apmail-incubator-shiro-user-archive@www.apache.org Received: (qmail 81451 invoked from network); 2 Oct 2009 21:14:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Oct 2009 21:14:45 -0000 Received: (qmail 59456 invoked by uid 500); 2 Oct 2009 21:14:45 -0000 Delivered-To: apmail-incubator-shiro-user-archive@incubator.apache.org Received: (qmail 59423 invoked by uid 500); 2 Oct 2009 21:14:45 -0000 Mailing-List: contact shiro-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: shiro-user@incubator.apache.org Delivered-To: mailing list shiro-user@incubator.apache.org Received: (qmail 59414 invoked by uid 99); 2 Oct 2009 21:14:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 21:14:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of achintms@hotmail.com designates 65.54.246.104 as permitted sender) Received: from [65.54.246.104] (HELO bay0-omc1-s32.bay0.hotmail.com) (65.54.246.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 21:14:34 +0000 Received: from BAY136-W26 ([65.55.141.61]) by bay0-omc1-s32.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 2 Oct 2009 14:14:11 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_b77a6302-c810-4625-b96e-ede1c451604b_" X-Originating-IP: [63.107.91.99] From: Achint Srivastava To: Subject: IP address based authorization Date: Fri, 2 Oct 2009 21:14:11 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 02 Oct 2009 21:14:11.0972 (UTC) FILETIME=[49C3E440:01CA43A5] X-Virus-Checked: Checked by ClamAV on apache.org --_b77a6302-c810-4625-b96e-ede1c451604b_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable We want to add IP based authorization to our system in addition to username= /password. This means that users coming from an IP address X have permissio= ns to certain resources without having to login. Is that possible to model = in Shiro? From what I have looked at it seems difficult. I basically want t= o add IP address as a principal to the subject so that when authorizing I c= an get permissions based on both IP address and/or User ID=2C but there doe= sn't seem to be a way to set principals without authenticating. Thanks=2C Achint =0A= _________________________________________________________________=0A= Hotmail: Powerful Free email with security by Microsoft.=0A= http://clk.atdmt.com/GBL/go/171222986/direct/01/= --_b77a6302-c810-4625-b96e-ede1c451604b_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable We want to add IP based authorization to our system in addition to username= /password. This means that users coming from an IP address X have permissio= ns to certain resources without having to login. Is that possible to model = in Shiro? From what I have looked at it seems difficult. I basically want t= o add IP address as a principal to the subject so that when authorizing I c= an get permissions based on both IP address and/or User ID=2C but there doe= sn't seem to be a way to set principals without authenticating.
Thanks= =2C
Achint


Hotmail: Powerful Free email with = security by Microsoft. Get it now. = --_b77a6302-c810-4625-b96e-ede1c451604b_--