[jboss-jira] [JBoss JIRA] (ELY-1388) Clean up credential-store-type in schema

Darran Lofthouse (JIRA) issues at jboss.org
Fri Oct 6 07:56:01 EDT 2017


Darran Lofthouse created ELY-1388:
-------------------------------------

             Summary: Clean up credential-store-type in schema
                 Key: ELY-1388
                 URL: https://issues.jboss.org/browse/ELY-1388
             Project: WildFly Elytron
          Issue Type: Bug
          Components: Authentication Client
    Affects Versions: 1.2.0.Beta4
            Reporter: Darran Lofthouse
            Assignee: Darran Lofthouse
             Fix For: 1.2.0.Beta5


The credential store type contains the following definition: -

{code}
    <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>
{code}

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.




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


More information about the jboss-jira mailing list