Package org.apache.shiro.authz.permission
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.-
ClassDescriptionAn all AllPermission instance is one that always implies any other permission; that is, its
impliesmethod always returns true.Provides a base Permission class from which type-safe/domain-specific subclasses may extend.Thrown byPermissionResolver.resolvePermission(String)when the String being parsed is not valid for that resolver.APermissionResolverresolves a String value and converts it into aPermissioninstance.Interface implemented by a component that wishes to use any application-configured PermissionResolver that might already exist instead of potentially creating one itself.A RolePermissionResolver resolves a String value and converts it into a Collection ofPermissioninstances.Interface implemented by a component that wishes to use any application-configured RolePermissionResolver that might already exist instead of potentially creating one itself.AWildcardPermissionis a very flexible permission construct supporting multiple levels of permission matching.PermissionResolver implementation that returns a newWildcardPermissionbased on the input string.