Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 96746 invoked from network); 30 Aug 2007 00:47:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2007 00:47:23 -0000 Received: (qmail 59184 invoked by uid 500); 30 Aug 2007 00:47:08 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 59148 invoked by uid 500); 30 Aug 2007 00:47:08 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 59137 invoked by uid 99); 30 Aug 2007 00:47:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 17:47:08 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.10.244] (HELO web26207.mail.ukl.yahoo.com) (217.12.10.244) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Aug 2007 00:48:02 +0000 Received: (qmail 92062 invoked by uid 60001); 30 Aug 2007 00:46:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=FqlfYK7pwgntmtItQhAfvzSUX3wFEUCpWKyyZkbCw0IBCUouyXazajRJwiL6pEZ7y7TvPGwE9nf4oY70IVFKRfk8FmPYFANvyTaflwqI3kI7EsNKkrPemRQbm9XonZMo/MhPD+Nx93aUPLZraAPdybl+U2zfLXhjjpv+bWJ1ZHY=; X-YMail-OSG: uhT_rmAVM1l2kl8o4gqx0IH39mcsiQ4LJFs3H9eLAdqVgp8hXnvc8ntbRRGXUiArQqzhpDUFRMfqOGNT251giVTL1dVpKflTRGd_6bKj.Lg5Ft0.8VrdMDgAEI0- Received: from [129.46.88.230] by web26207.mail.ukl.yahoo.com via HTTP; Wed, 29 Aug 2007 17:46:42 PDT Date: Wed, 29 Aug 2007 17:46:42 -0700 (PDT) From: akash agrawal Subject: action mapping roles attribute in struts 2 To: user@struts.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-319218815-1188434802=:90949" Content-Transfer-Encoding: 8bit Message-ID: <277982.90949.qm@web26207.mail.ukl.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-319218815-1188434802=:90949 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, In struts 1.x there used to be roles attribute which can be used to associate role information for an action. Does Struts 2 also supports that? And if it does how do we use that in Struts 2? Basically I want to authorize action based on user role. Thanks in advance. -Akash --------------------------------- Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. --0-319218815-1188434802=:90949--