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 APermisisonResolver
resolves a String value and converts it into aPermission
instance.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 ofPermission
instances.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, itsimplies
method always returns true.DomainPermission Provides a base Permission class from which type-safe/domain-specific subclasses may extend.WildcardPermission AWildcardPermission
is a very flexible permission construct supporting multiple levels of permission matching.WildcardPermissionResolver PermissionResolver implementation that returns a newWildcardPermission
based on the input string. -
Exception Summary Exception Description InvalidPermissionStringException Thrown byPermissionResolver.resolvePermission(String)
when the String being parsed is not valid for that resolver.