Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1388

Clean up credential-store-type in schema

XMLWordPrintable

      The credential store type contains the following definition: -

          <xsd:complexType name="credential-store-type">
              <xsd:annotation>
                  <xsd:documentation>
                      An individual credential store definition.
                  </xsd:documentation>
              </xsd:annotation>
      
              <xsd:all minOccurs="0" maxOccurs="1">
                  <xsd:element name="attributes" type="attributes-type"/>
                  <xsd:element name="protection-parameter-credentials" type="client-credentials-type"/>
                  <xsd:element name="providers" type="providers-type" />
              </xsd:all>
      
              <xsd:attribute name="name" type="xsd:string" use="required" />
              <xsd:attribute name="type" type="xsd:string" default="KeyStoreCredentialStore" use="optional">
                  <xsd:annotation>
                      <xsd:documentation>
                          The credential store type, e.g. KeyStoreCredentialStore.
                      </xsd:documentation>
                  </xsd:annotation>
              </xsd:attribute>
              <xsd:attribute name="provider" type="xsd:string" use="optional">
                  <xsd:annotation>
                      <xsd:documentation>
                          The name of the provider to use to
                          instantiate the CredentialStoreSpi, if the provider is not
                          specified then the first provider found that can
                          create an instance of the specified 'type' will be
                          used.
                      </xsd:documentation>
                  </xsd:annotation>
              </xsd:attribute>
          </xsd:complexType>
      

      This effectively says the child elements are optional but if one is specified they all need to be specified, however they are all optional and can be specified individually.

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: