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

Ilia Vassilev (JIRA) issues at jboss.org
Thu Nov 2 10:32:01 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-3398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485179#comment-13485179 ] 

Ilia Vassilev commented on WFCORE-3398:
---------------------------------------

some *-principal-decoder are registered as principal-transformer besided principal-decoder - This change was introduced by the fix for WFCORE-3016

> 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