Package org.apache.shiro.authz.permission
Support and default implementations for Shiro's
Permission
interface.
Also note the PermissionResolver interface, as
it plays an important part in many of Shiro's Realm implementations
and AOP support.-
Interface Summary Interface Description PermissionResolver APermisisonResolverresolves a String value and converts it into aPermissioninstance.PermissionResolverAware Interface implemented by a component that wishes to use any application-configured PermissionResolver that might already exist instead of potentially creating one itself.RolePermissionResolver A RolePermissionResolver resolves a String value and converts it into a Collection ofPermissioninstances.RolePermissionResolverAware Interface implemented by a component that wishes to use any application-configured RolePermissionResolver that might already exist instead of potentially creating one itself. -
Class Summary Class Description AllPermission An all AllPermission instance is one that always implies any other permission; that is, itsimpliesmethod always returns true.DomainPermission Provides a base Permission class from which type-safe/domain-specific subclasses may extend.WildcardPermission AWildcardPermissionis a very flexible permission construct supporting multiple levels of permission matching.WildcardPermissionResolver PermissionResolver implementation that returns a newWildcardPermissionbased on the input string. -
Exception Summary Exception Description InvalidPermissionStringException Thrown byPermissionResolver.resolvePermission(String)when the String being parsed is not valid for that resolver.