[jboss-jira] [JBoss JIRA] (WFCORE-3398) Elytron, wrong capabilities registered

Martin Choma (JIRA) issues at jboss.org
Thu Nov 2 09:58:00 EDT 2017


Martin Choma created WFCORE-3398:
------------------------------------

             Summary: Elytron, wrong capabilities registered
                 Key: WFCORE-3398
                 URL: https://issues.jboss.org/browse/WFCORE-3398
             Project: WildFly Core
          Issue Type: Bug
          Components: Security
            Reporter: Martin Choma
            Assignee: Darran Lofthouse


I wen throught resources and 
* trust-manager is registered as credential-store besides trust-manager
* some *-principal-decoder are registered as principal-transformer besided principal-decoder

{code}
            "trust-manager" => {
                "description" => "A trust manager definition for creating the TrustManager[] as used to create an SSLContext.",
                "model-description" => {"*" => {
                    "description" => "A trust manager definition for creating the TrustManager[] as used to create an SSLContext.",
                    "capabilities" => [
                        {
                            "name" => "org.wildfly.security.trust-manager",
                            "dynamic" => true
                        },
                        {
                            "name" => "org.wildfly.security.credential-store",
                            "dynamic" => true
                        }
                    ],

            "constant-principal-decoder" => {
                "description" => "Definition of a principal decoder that always returns the same constant.",
                "model-description" => {"*" => {
                    "description" => "Definition of a principal decoder that always returns the same constant.",
                    "capabilities" => [
                        {
                            "name" => "org.wildfly.security.principal-transformer",
                            "dynamic" => true
                        },
                        {
                            "name" => "org.wildfly.security.principal-decoder",
                            "dynamic" => true
                        }
                    ],

            "x500-attribute-principal-decoder" => {
                "description" => "Definition of a X.500 attribute based principal decoder",
                "model-description" => {"*" => {
                    "description" => "Definition of a X.500 attribute based principal decoder",
                    "capabilities" => [
                        {
                            "name" => "org.wildfly.security.principal-transformer",
                            "dynamic" => true
                        },
                        {
                            "name" => "org.wildfly.security.principal-decoder",
                            "dynamic" => true
                        }
                    ],

            "concatenating-principal-decoder" => {
                "description" => "A principal decoder definition where the principal decoder is a concatenation of other principal decoders.",
                "model-description" => {"*" => {
                    "description" => "A principal decoder definition where the principal decoder is a concatenation of other principal decoders.",
                    "capabilities" => [
                        {
                            "name" => "org.wildfly.security.principal-transformer",
                            "dynamic" => true
                        },
                        {
                            "name" => "org.wildfly.security.principal-decoder",
                            "dynamic" => true
                        }
                    ],
{code}






--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list