[jboss-jira] [JBoss JIRA] (ELY-1239) Elytron client, elytron-1_0.xsd, protection-parameter-credentials is incorrectly defined as client-credentials-type.
Hynek Švábek (JIRA)
issues at jboss.org
Fri Jun 9 06:01:00 EDT 2017
Hynek Švábek created ELY-1239:
---------------------------------
Summary: Elytron client, elytron-1_0.xsd, protection-parameter-credentials is incorrectly defined as client-credentials-type.
Key: ELY-1239
URL: https://issues.jboss.org/browse/ELY-1239
Project: WildFly Elytron
Issue Type: Bug
Reporter: Hynek Švábek
Assignee: Darran Lofthouse
Priority: Blocker
Elytron client, elytron-1_0.xsd, *protection-parameter-credentials* is incorrectly defined as client-credentials-type [1].
For *protection-parameter-credentials* is valid only credential-store-reference element:
{code}
<xsd:element name="credential-store-reference" type="credential-store-reference-type"/>
{code}
But now is *protection-parameter-credentials* defined as type *client-credentials-type* [1] which can have these values:
{code}
<xsd:complexType name="client-credentials-type">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="key-store-reference" type="key-store-ref-type"/>
<xsd:element name="credential-store-reference" type="credential-store-reference-type"/>
<xsd:element name="clear-password" type="clear-password-type"/>
<xsd:element name="hashed-password" type="hashed-password-type"/>
<xsd:element name="crypt-password" type="crypt-password-type"/>
<xsd:element name="key-pair" type="key-pair-type"/>
<xsd:element name="certificate" type="certificate-type"/>
<xsd:element name="public-key-pem" type="xsd:string"/>
<xsd:element name="bearer-token" type="bearer-token-type"/>
<xsd:element name="oauth2-bearer-token" type="oauth2-bearer-token-type"/>
</xsd:choice>
</xsd:complexType>
{code}
[1] https://github.com/wildfly-security/wildfly-elytron/blob/1.1.0.Beta47/src/main/resources/schema/elytron-1_0.xsd#L100
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list