Apache Shiro · JSON Structure

Apache Shiro Session Structure

Shiro session information

Type: object Properties: 6
AuthenticationAuthorizationCryptographyJavaSecurityApacheOpen Source

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

Properties

id startTimestamp lastAccessTime timeout host expired

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-session-structure.json",
  "description": "Shiro session information",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Session identifier"
    },
    "startTimestamp": {
      "type": "datetime",
      "description": "Session creation time"
    },
    "lastAccessTime": {
      "type": "datetime",
      "description": "Last access time"
    },
    "timeout": {
      "type": "int64",
      "description": "Session timeout in milliseconds"
    },
    "host": {
      "type": "string",
      "description": "Host of the session initiator"
    },
    "expired": {
      "type": "boolean",
      "description": "Whether the session has expired"
    }
  },
  "name": "Session"
}