RolePermissionResolverAware

Interface implemented by a component that wishes to use any application-configured <tt>RolePermissionResolver</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 RolePermissionResolverAware {}

Members

Functions

setRolePermissionResolver
void setRolePermissionResolver(RolePermissionResolver rpr)

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

Meta