Skip to content

Generate attributes of OBJECT type #18

@mchoma

Description

@mchoma

Attributes of OBJECT are not generated, e.g. jwt [1]
Although in model it is described as

                   "jwt" => {
                            "type" => OBJECT,
                            "description" => "A token validator to be used in conjunction with a token-based realm that handles security tokens based on the JWT/JWS standard.",
                            "expressions-allowed" => false,
                            "required" => false,
                            "nillable" => true,
                            "value-type" => {
                                "issuer" => {
                                    "type" => LIST,
                                    "description" => "A list of strings representing the issuers supported by this configuration. During validation JWT tokens must have an \"iss\" claim that contains one of the values defined here.",
                                    "expressions-allowed" => true,
                                    "required" => false,
                                    "nillable" => true,
                                    "min-length" => 1L,
                                    "max-length" => 2147483647L,
                                    "value-type" => STRING
                                },
                                "audience" => {
                                    "type" => LIST,
                                    "description" => "A list of strings representing the audiences supported by this configuration. During validation JWT tokens must have an \"aud\" claim that contains one of the values defined here.",
                                    "expressions-allowed" => true,
                                    "required" => false,
                                    "nillable" => true,
                                    "min-length" => 1L,
                                    "max-length" => 2147483647L,
                                    "value-type" => STRING
                                },
                                "public-key" => {
                                    "type" => STRING,
                                    "description" => "A public key in PEM Format. During validation, if a public key is provided, signature will be verified based on the key you provided here.",
                                    "expressions-allowed" => true,
                                    "required" => false,
                                    "nillable" => true,
                                    "alternatives" => [
                                        "key-store",
                                        "certificate"
                                    ],
                                    "min-length" => 1L,
                                    "max-length" => 2147483647L
                                },
                                "key-store" => {
                                    "type" => STRING,
                                    "description" => "A key store from where the certificate with a public key should be loaded from.",
                                    "expressions-allowed" => false,
                                    "required" => false,
                                    "nillable" => true,
                                    "alternatives" => ["public-key"],
                                    "requires" => ["certificate"],
                                    "capability-reference" => "org.wildfly.security.key-store",
                                    "min-length" => 1L,
                                    "max-length" => 2147483647L
                                },
                                "certificate" => {
                                    "type" => STRING,
                                    "description" => "The name of the certificate with a public key to load from the key store.",
                                    "expressions-allowed" => true,
                                    "required" => false,
                                    "nillable" => true,
                                    "alternatives" => ["public-key"],
                                    "requires" => ["key-store"],
                                    "min-length" => 1L,
                                    "max-length" => 2147483647L
                                }
                            },
                            "access-type" => "read-write",
                            "storage" => "configuration",
                            "restart-required" => "all-services"
                        },

[1] https://wildscribe.github.io/WildFly/13.0/subsystem/elytron/token-realm/index.html#attr-jwt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions