Support and default implementations for Shiro's
Permissioninterface. Also note the
PermissionResolverinterface, as it plays an important part in many of Shiro's
Realmimplementations and AOP support.
Interface Summary Interface Description PermissionResolverA
PermisisonResolverresolves a String value and converts it into a
PermissionResolverAwareInterface implemented by a component that wishes to use any application-configured PermissionResolver that might already exist instead of potentially creating one itself. RolePermissionResolverA RolePermissionResolver resolves a String value and converts it into a Collection of
RolePermissionResolverAwareInterface 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 AllPermissionAn all AllPermission instance is one that always implies any other permission; that is, its
impliesmethod always returns true.
DomainPermissionProvides a base Permission class from which type-safe/domain-specific subclasses may extend. WildcardPermissionA
WildcardPermissionis a very flexible permission construct supporting multiple levels of permission matching.
WildcardPermissionResolverPermissionResolver implementation that returns a new
WildcardPermissionbased on the input string.
Exception Summary Exception Description InvalidPermissionStringExceptionThrown by
PermissionResolver.resolvePermission(String)when the String being parsed is not valid for that resolver.