Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><a href="http://shiro-user.582556.n2.nabble.com/hundreds-of-url-and-perms-relationship-management-tp7526644p7527823.html" rel="nofollow" title="Discussion on shiro-user...nabble.com">It is possible</a> to do this by implementing and using own "org.apache.shiro.web.filter.AccessControlFilter" subclasses in the software. This own classes can be declared in the shiro.ini:</p> <pre><code>[main] user = filter.FooFilter </code></pre> <p>The AccessControlFilter-class provides an "isAccessAllowed(ServletRequest request, ServletResponse response, Object mappedValue)"-method, which can be overridden to use "request.getParameterMap()" for getting the HTTP-GET-parameters.</p> <p>As an example, you could have a look at my project <a href="https://github.com/SchulteMarkus/tiramisu" rel="nofollow">tiramisu</a> (quite outdated). See <a href="https://github.com/SchulteMarkus/tiramisu/blob/master/src/main/java/com/bestellbaer/filter/CompanyManagerPermissionsFilter.java" rel="nofollow">CompanyManagerPermissionsFilter</a> (which extends <a href="https://github.com/SchulteMarkus/tiramisu/blob/master/src/main/java/com/bestellbaer/filter/CompanyScopedPermissionsFilter.java" rel="nofollow">CompanyScopedPermissionsFilter</a>, which extends <a href="https://github.com/SchulteMarkus/tiramisu/blob/master/src/main/java/com/bestellbaer/filter/DomainPermissionsFilter.java" rel="nofollow">DomainPermissionsFilter</a>), included in <a href="https://github.com/SchulteMarkus/tiramisu/blob/master/src/main/webapp/WEB-INF/shiro.ini" rel="nofollow">WEB-INF/shiro.ini</a>.</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.
 

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