Depending on your application, you could configure these with annotations:
http://docs.oracle.com/javaee/6/api/javax/servlet/annotation/package-tree.html

On Wed, Jul 20, 2016 at 2:51 PM, badasingh <[email protected]> wrote:

> I'm still relatively new to Apache Shiro and Vaadin, so this might just be
> a
> newbie question.  I noticed that the most recent versions of Vaadin no
> longer utilize web.xml because of servlet 3.0 .  Are any parameters
> required
> in the @WebServlet or @VaadinServletConfiguration annotations for Shiro to
> work with Vaadin?  Previously, this was added to web.xml:
>
>     <listener>
>
>
> <listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
>     </listener>
>
>     <filter>
>         <filter-name>ShiroFilter</filter-name>
>
> <filter-class>org.apache.shiro.web.servlet.IniShiroFilter</filter-class>
>     </filter>
>
>
>
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/No-web-xml-in-Vaadin-7-x-because-of-servlet-3-0-tp7581157.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to