PermissionResolverAware

Interface implemented by a component that wishes to use any application-configured <tt>PermissionResolver</tt> that might already exist instead of potentially creating one itself.

<p>This is mostly implemented by {@link hunt.shiro.authz.Authorizer Authorizer} and {@link hunt.shiro.realm.Realm Realm} implementations since they are the ones performing permission checks and need to know how to resolve Strings into {@link hunt.shiro.authz.Permission Permission} instances.

interface PermissionResolverAware {}

Members

Functions

setPermissionResolver
void setPermissionResolver(PermissionResolver pr)

Sets the specified <tt>PermissionResolver</tt> on this instance.

Meta