Apache Shiro · JSON Structure

Apache Shiro Login Request Structure

User login credentials

Type: object Properties: 3 Required: 2
AuthenticationAuthorizationCryptographyJavaSecurityApacheOpen Source

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

Properties

username password rememberMe

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-login-request-structure.json",
  "description": "User login credentials",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "Username or email"
    },
    "password": {
      "type": "string",
      "description": "User password"
    },
    "rememberMe": {
      "type": "boolean",
      "description": "Whether to set remember-me cookie"
    }
  },
  "required": [
    "username",
    "password"
  ],
  "name": "LoginRequest"
}