You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Ertio Lew <er...@gmail.com> on 2011/07/26 22:32:38 UTC

Where to create SecurityManager instance in a web application project?

Where to create SecurityManager instance in a web application project? &
what to use it for, in order to just set shiro in the working mode ?

Re: Where to create SecurityManager instance in a web application project?

Posted by Manoj Khangaonkar <kh...@gmail.com>.
Ertio,

You do not need to create the SecurityManager explicitly.

If you setup the shiro http filter in the web.xml as described at
http://shiro.apache.org/web.html

the DefaultWebSecurityManager is created for you.

To get a basic web app running - see the web sample and the reference
doc at http://shiro.apache.org/web.html

On Tue, Jul 26, 2011 at 1:32 PM, Ertio Lew <er...@gmail.com> wrote:
> Where to create SecurityManager instance in a web application project? &
> what to use it for, in order to just set shiro in the working mode ?
>



-- 
http://khangaonkar.blogspot.com/