Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I couldn't spot anything obvious and things looks ok but still, the <code>ClassNotFoundException</code> suggests that <code>org.apache.shiro.web.servlet.IniShiroFilter</code> is not on the classpath (although your pom dependencies looks ok as I said). So could you check that:</p> <ul> <li><code>shiro-web-1.0.0-incubating.jar</code> is packaged as expected in your war.</li> <li>your version of <code>shiro-web-1.0.0-incubating.jar</code> does contain that class.</li> </ul> <hr> <p>Regarding your real definition, if you don't want to provide a realm implementation, why don't you simply define some users and roles as suggested in the documentation of the <a href="http://incubator.apache.org/shiro/configuration.html#Configuration-INISections" rel="nofollow noreferrer">INI Sections</a>:</p> <blockquote> <p>Just defining non-empty <code>[users]</code> or <code>[roles]</code> sections will automatically trigger the creation of an <code>org.apache.shiro.realm.text.IniRealm</code> and make it available in the <code>[main]</code> section under the name iniRealm. You can configure it like any other object as described above.</p> </blockquote> <p>For testing purposes, I think you should simply define a small static set of user accounts in the <a href="http://incubator.apache.org/shiro/configuration.html#Configuration-%5Cusers%5C" rel="nofollow noreferrer">[users]</a> section, as suggested:</p> <blockquote> <p>The [users] section allows you to define a static set of user accounts. This is mostly useful in environments with a very small number of user accounts or where user accounts don't need to be created dynamically at runtime. Here's an example:</p> </blockquote> <p>Refer to the documentation for the exact syntax.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload