Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It is definitely not true that "Spring Security is the single most versatile auth / auth provider there is" - that's just unfounded hype.</p> <p>Apache Shiro can handle more use cases than Spring Security, if only because SS doesn't support enterprise session management or have simplified cryptography out of the box (Shiro does). Shiro also supports a much finer-grained security model out of the box (e.g. Shiro's WildcardPermission). Shiro also does LDAP and Active Directory. Also note that Shiro was built from day one with architectural foundations to work in any application environment, not just Spring applications (but it excels in Spring apps for sure). The same can not be said of Spring Security (it was indeed built initially for only Spring applications).</p> <p>As far as a small number of users and/or roles, you can easily do that in the <a href="http://incubator.apache.org/shiro/configuration.html#Configuration-INISections" rel="noreferrer">shiro.ini file</a>. For example:</p> <pre><code>[main] ... [users] jsmith = password, role1 ajones = anotherPassword, role1, role2 [roles] role1 = perm1, perm2, ..., permN role2 = permA, permB, ..., permZ </code></pre> <p>At the end of the day, both Apache Shiro and Spring Security are great frameworks - both stand well on their own merits. Your choice should be based on which one fits your mental model better (which interfaces and class names make more sense? Which is easier for you to understand and use?)</p> <p>Cheers,</p> <p>Les</p>
    singulars
    1. This table or related slice is empty.
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. 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