org.apache.shiro.authz.permission
Interface RolePermissionResolverAware

All Known Implementing Classes:
AbstractLdapRealm, ActiveDirectoryRealm, AuthorizingRealm, IniRealm, JdbcRealm, JndiLdapRealm, ModularRealmAuthorizer, PropertiesRealm, SimpleAccountRealm, TextConfigurationRealm

public interface RolePermissionResolverAware

Interface implemented by a component that wishes to use any application-configured RolePermissionResolver that might already exist instead of potentially creating one itself.

This is mostly implemented by Authorizer and Realm implementations since they are the ones performing permission checks and need to know how to resolve Strings into Permission instances.

Since:
1.0

Method Summary
 void setRolePermissionResolver(RolePermissionResolver rpr)
          Sets the specified RolePermissionResolver on this instance.
 

Method Detail

setRolePermissionResolver

void setRolePermissionResolver(RolePermissionResolver rpr)
Sets the specified RolePermissionResolver on this instance.

Parameters:
rpr - the RolePermissionResolver being set.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.