Package org.apache.activemq.shiro.authz
Class ActiveMQPermissionResolver
- java.lang.Object
-
- org.apache.shiro.authz.permission.WildcardPermissionResolver
-
- org.apache.activemq.shiro.authz.ActiveMQPermissionResolver
-
- All Implemented Interfaces:
org.apache.shiro.authz.permission.PermissionResolver
public class ActiveMQPermissionResolver extends org.apache.shiro.authz.permission.WildcardPermissionResolver
WildcardPermissionResolver
that can create case-sensitive (or case-insensitive)WildcardPermission
instances as expected for ActiveMQ.- Since:
- 5.10.0
-
-
Constructor Summary
Constructors Constructor Description ActiveMQPermissionResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCaseSensitive()
org.apache.shiro.authz.Permission
resolvePermission(String permissionString)
Creates a newWildcardPermission
instance, with case-sensitivity determined by thecaseSensitive
setting.void
setCaseSensitive(boolean caseSensitive)
-
-
-
Method Detail
-
isCaseSensitive
public boolean isCaseSensitive()
- Overrides:
isCaseSensitive
in classorg.apache.shiro.authz.permission.WildcardPermissionResolver
-
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
- Overrides:
setCaseSensitive
in classorg.apache.shiro.authz.permission.WildcardPermissionResolver
-
resolvePermission
public org.apache.shiro.authz.Permission resolvePermission(String permissionString)
Creates a newWildcardPermission
instance, with case-sensitivity determined by thecaseSensitive
setting.- Specified by:
resolvePermission
in interfaceorg.apache.shiro.authz.permission.PermissionResolver
- Overrides:
resolvePermission
in classorg.apache.shiro.authz.permission.WildcardPermissionResolver
- Parameters:
permissionString
- the wildcard permission-formatted string.- Returns:
- a new
WildcardPermission
instance, with case-sensitivity determined by thecaseSensitive
setting.
-
-