Apache Shiro · JSON Structure

Apache Shiro Permission Check Result Structure

Result of permission check

Type: object Properties: 3
AuthenticationAuthorizationCryptographyJavaSecurityApacheOpen Source

PermissionCheckResult is a JSON Structure definition published by Apache Shiro, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

permission permitted principal

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-shiro/refs/heads/main/json-structure/apache-shiro-permission-check-result-structure.json",
  "description": "Result of permission check",
  "type": "object",
  "properties": {
    "permission": {
      "type": "string",
      "description": "Checked permission string"
    },
    "permitted": {
      "type": "boolean",
      "description": "Whether the subject has the permission"
    },
    "principal": {
      "type": "string",
      "description": "Subject being checked"
    }
  },
  "name": "PermissionCheckResult"
}