Class WildcardPermissionResolver

java.lang.Object
org.apache.shiro.authz.permission.WildcardPermissionResolver
All Implemented Interfaces:
PermissionResolver

public class WildcardPermissionResolver extends Object implements PermissionResolver
PermissionResolver implementation that returns a new WildcardPermission based on the input string.
Since:
0.9
  • Constructor Details

  • Method Details

    • setCaseSensitive

      public void setCaseSensitive(boolean state)
      Set the case sensitivity of the resolved Wildcard permissions.
      Parameters:
      state - the caseSensitive flag state for resolved permissions.
    • isCaseSensitive

      public boolean isCaseSensitive()
      Return true if this resolver produces case sensitive permissions.
      Returns:
      true if this resolver produces case sensitive permissions.
    • resolvePermission

      public Permission resolvePermission(String permissionString)
      Returns a new WildcardPermission instance constructed based on the specified permissionString.
      Specified by:
      resolvePermission in interface PermissionResolver
      Parameters:
      permissionString - the permission string to convert to a Permission instance.
      Returns:
      a new WildcardPermission instance constructed based on the specified permissionString