Class 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 Detail

      • ActiveMQPermissionResolver

        public ActiveMQPermissionResolver()
    • Method Detail

      • isCaseSensitive

        public boolean isCaseSensitive()
        Overrides:
        isCaseSensitive in class org.apache.shiro.authz.permission.WildcardPermissionResolver
      • setCaseSensitive

        public void setCaseSensitive​(boolean caseSensitive)
        Overrides:
        setCaseSensitive in class org.apache.shiro.authz.permission.WildcardPermissionResolver
      • resolvePermission

        public org.apache.shiro.authz.Permission resolvePermission​(String permissionString)
        Creates a new WildcardPermission instance, with case-sensitivity determined by the caseSensitive setting.
        Specified by:
        resolvePermission in interface org.apache.shiro.authz.permission.PermissionResolver
        Overrides:
        resolvePermission in class org.apache.shiro.authz.permission.WildcardPermissionResolver
        Parameters:
        permissionString - the wildcard permission-formatted string.
        Returns:
        a new WildcardPermission instance, with case-sensitivity determined by the caseSensitive setting.