{
  "factory": {
    "id": "jaas-login-module-components",
    "type": "entaxy.security.jaas.loginmodule.components",
    "description": "",
    "isAbstract": true,
    "parent": "abstract-jaas-login-module",
    "label": "",
    "category": ""
  },
  "entaxy.security.jaas.loginmodule.components": {},
  "fields": {},
  "outputs": {
    "encryption": {
      "isDefault": false,
      "generator": "",
      "config": {},
      "fields": {
        "encryption_enabled": {
          "displayName": "Encryption Enabled",
          "description": "Set to true, to enable password encryption. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
          "type": "Boolean",
          "group": "encryption",
          "required": true,
          "defaultValue": false
        },
        "encryption_name": {
          "displayName": "Encryption Name",
          "description": "Name of the encryption service, which has been registered as an OSGi service. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
          "type": "String",
          "group": "encryption",
          "required": true,
          "condition": "${encryption_enabled}",
	      "@TYPEINFO": {
	        "type": "enum",
	        "values": [
	          "basic",
	          "jasypt"
	        ]
	      },
	      "defaultValue": "basic"
        },
        "encryption_prefix": {
          "displayName": "Encryption Prefix",
          "description": "Prefix for encrypted passwords. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
          "type": "String",
          "group": "encryption",
          "required": true,
          "condition": "${encryption_enabled}",
	      "defaultValue": "{CRYPT}"
        },
        "encryption_suffix": {
          "displayName": "Encryption Suffix",
          "description": "Suffix for encrypted passwords. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
          "type": "String",
          "group": "encryption",
          "required": true,
          "condition": "${encryption_enabled}",
	      "defaultValue": "{CRYPT}"
        },
        "encryption_algorithm": {
          "displayName": "Encryption Algorithm",
          "description": "Specifies the name of the encryption algorithm — for example, MD5 or SHA-1. You can specify one of the following encryption algorithms: MD2/MD5/SHA-1/SHA-256/SHA-384/SHA-512. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
          "type": "String",
          "group": "encryption",
          "required": true,
          "condition": "${encryption_enabled}",
	      "@TYPEINFO": {
	        "type": "enum",
	        "values": [
				"MD2",
    			"MD5",
    			"SHA-1",
    			"SHA-256",
    			"SHA-384",
    			"SHA-512" 
	        ]
	      },
	      "defaultValue": "MD5"
        },
        "encryption_encoding": {
          "displayName": "Encryption Encoding",
          "description": "Encrypted passwords encoding: hexadecimal or base64. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
          "type": "String",
          "group": "encryption",
          "required": true,
          "condition": "${encryption_enabled}",
	      "@TYPEINFO": {
	        "type": "enum",
	        "values": [
				"hexadecimal",
    			"base64"
	        ]
	      },
	      "defaultValue": "hexadecimal"
        }
      }
    },
    "jasypt": {
    	"fields": {
    		"encryption_providerName": {
              "displayName": "Encryption Provider Name",
              "description": "Name of the java.security. Provider instance that is to provide the digest algorithm. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
              "type": "String",
	          "group": "jasypt",
	          "required": false
    		},
    		"encryption_providerClassName": {
              "displayName": "Encryption Provider Class Name",
              "description": "Class name of the security provider that is to provide the digest algorithm. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
              "type": "String",
	          "group": "jasypt",
	          "required": false
    		},
    		"encryption_iterations": {
              "displayName": "Encryption Iterations",
              "description": "Number of times to apply the hash function recursively. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
              "type": "Number",
	          "group": "jasypt",
	          "required": false
    		},
    		"encryption_saltSizeBytes": {
              "displayName": "Encryption Salt Size Bytes",
              "description": "Size of the salt used to compute the digest. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
              "type": "Number",
	          "group": "jasypt",
	          "required": false
    		},
    		"encryption_saltGeneratorClassName": {
              "displayName": "Encryption Salt Generator Class Name",
              "description": "Class name of the salt generator. For more details see <a target=\"_blank\" href=\"https://docs.entaxy.ru/entaxy-core/${project.version}/core/security/security-jaas.html\">Entaxy docs</a> and <a target=\"_blank\" href=\"https://karaf.apache.org/manual/latest/security\">Karaf docs</a>",
              "type": "String",
	          "group": "jasypt",
	          "required": false
    		}
    	}
    }
  }
}
