[jboss-jira] [JBoss JIRA] (WFLY-8076) datasources and resource-adapter subsystems: credential-reference and password should be mutually exclusive

Stefano Maestri (JIRA) issues at jboss.org
Fri Feb 10 11:51:00 EST 2017


     [ https://issues.jboss.org/browse/WFLY-8076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Maestri moved JBEAP-8776 to WFLY-8076:
----------------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-8076  (was: JBEAP-8776)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: JCA
                       Security
                           (was: JCA)
                           (was: Security)
    Affects Version/s:     (was: 7.1.0.DR11)


> datasources and resource-adapter subsystems: credential-reference and password should be mutually exclusive
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-8076
>                 URL: https://issues.jboss.org/browse/WFLY-8076
>             Project: WildFly
>          Issue Type: Bug
>          Components: JCA, Security
>            Reporter: Stefano Maestri
>            Assignee: Stefano Maestri
>
> credential-reference and password should be mutually exclusive, they should have alternatives set
> {noformat}
>             "password" => {
>                 "type" => STRING,
>                 "description" => "Specifies the password used when creating a new connection",
>                 "expressions-allowed" => true,
>                 "required" => false,
>                 "nillable" => true,
>                 "requires" => ["user-name"],
>                 "min-length" => 1L,
>                 "max-length" => 2147483647L,
>                 "access-constraints" => {"sensitive" => {
>                     "credential" => {"type" => "core"},
>                     "data-source-security" => {"type" => "datasources"}
>                 }},
>                 "access-type" => "read-write",
>                 "storage" => "configuration",
>                 "restart-required" => "no-services"
>             },
>           "credential-reference" => {
>                 "type" => OBJECT,
>                 "description" => "Credential (from Credential Store) to authenticate on data source",
>                 "expressions-allowed" => false,
>                 "required" => false,
>                 "nillable" => true,
>                 "capability-reference" => "org.wildfly.security.credential-store",
>                 "access-constraints" => {"sensitive" => {
>                     "credential" => {"type" => "core"},
>                     "data-source-security" => {"type" => "datasources"}
>                 }},
>                 "value-type" => {
>                     "store" => {
>                         "type" => STRING,
>                         "description" => "The name of the credential store holding the alias to credential",
>                         "expressions-allowed" => false,
>                         "required" => false,
>                         "nillable" => true,
>                         "min-length" => 1L,
>                         "max-length" => 2147483647L
>                     },
>                     "alias" => {
>                         "type" => STRING,
>                         "description" => "The alias which denotes stored secret or credential in the store",
>                         "expressions-allowed" => false,
>                         "required" => false,
>                         "nillable" => true,
>                         "min-length" => 1L,
>                         "max-length" => 2147483647L
>                     },
>                     "type" => {
>                         "type" => STRING,
>                         "description" => "The type of credential this reference is denoting",
>                         "expressions-allowed" => false,
>                         "required" => false,
>                         "nillable" => true,
>                         "min-length" => 1L,
>                         "max-length" => 2147483647L
>                     },
>                     "clear-text" => {
>                         "type" => STRING,
>                         "description" => "Secret specified using clear text (check credential store way of supplying credential/secrets to services)",
>                         "expressions-allowed" => false,
>                         "required" => false,
>                         "nillable" => true,
>                         "min-length" => 1L,
>                         "max-length" => 2147483647L
>                     }
>                 },
>                 "access-type" => "read-write",
>                 "storage" => "configuration",
>                 "restart-required" => "all-services"
>             }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list